mirror of https://github.com/fafhrd91/actix-web
use cargo hack in ci
This commit is contained in:
parent
efc234a89a
commit
7a160015c9
|
@ -40,11 +40,17 @@ jobs:
|
||||||
- name: Cache Dependencies
|
- name: Cache Dependencies
|
||||||
uses: Swatinem/rust-cache@v1.0.1
|
uses: Swatinem/rust-cache@v1.0.1
|
||||||
|
|
||||||
|
- name: Install cargo-hack
|
||||||
|
uses: actions-rs/cargo@v1
|
||||||
|
with:
|
||||||
|
command: install
|
||||||
|
args: cargo-hack
|
||||||
|
|
||||||
- name: check minimal
|
- name: check minimal
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: hack
|
||||||
args: --workspace --no-default-features --tests
|
args: --clean-per-run check --workspace --no-default-features --tests
|
||||||
|
|
||||||
- name: check full
|
- name: check full
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|
Loading…
Reference in New Issue