CI improvements (#132)

- Run Cargo check against the entire workspace
- Use minimal toolchain profile for lints
This commit is contained in:
Jay Oster 2020-12-27 06:35:17 -08:00 committed by GitHub
parent c0d1fca061
commit efb64078ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,6 +31,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: check
args: --all
tests:
name: Test
runs-on: ubuntu-latest
@ -71,9 +72,10 @@ jobs:
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
override: true
profile: minimal
toolchain: stable
components: clippy, rustfmt
override: true
- name: Cargo fmt
uses: actions-rs/cargo@v1
with: