Cargo check

This commit is contained in:
Gregory Schier
2024-06-08 20:36:56 -07:00
parent 53b922cc7c
commit 595a92c324

View File

@@ -28,7 +28,6 @@ jobs:
profile: minimal profile: minimal
toolchain: nightly # required for `cargo udeps` toolchain: nightly # required for `cargo udeps`
override: true override: true
components: rustfmt, clippy
- name: Set up cargo cache - name: Set up cargo cache
uses: actions/cache@v3 uses: actions/cache@v3
continue-on-error: false continue-on-error: false
@@ -42,7 +41,7 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo- restore-keys: ${{ runner.os }}-cargo-
- name: Lint - name: Lint
run: cargo clippy -- -D warnings run: cargo check
- run: cargo install --locked cargo-udeps || true - run: cargo install --locked cargo-udeps || true
- name: Check - name: Check
run: | run: |