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 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: