CI improvements (#132)
- Run Cargo check against the entire workspace - Use minimal toolchain profile for lints
This commit is contained in:
parent
c0d1fca061
commit
efb64078ec
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -31,6 +31,7 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
|
args: --all
|
||||||
tests:
|
tests:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -71,9 +72,10 @@ jobs:
|
||||||
- name: Install toolchain
|
- name: Install toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
profile: minimal
|
||||||
components: clippy, rustfmt
|
toolchain: stable
|
||||||
override: true
|
components: clippy, rustfmt
|
||||||
|
override: true
|
||||||
- name: Cargo fmt
|
- name: Cargo fmt
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue