diff --git a/.github/workflows/ci-rust.yml b/.github/workflows/ci-rust.yml index 7b4fe5b6..09604527 100644 --- a/.github/workflows/ci-rust.yml +++ b/.github/workflows/ci-rust.yml @@ -28,23 +28,7 @@ jobs: profile: minimal toolchain: nightly # required for `cargo udeps` override: true - - name: Set up cargo cache - uses: actions/cache@v3 - continue-on-error: false - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: ${{ runner.os }}-cargo- - name: Lint run: cargo check - - run: cargo install --locked cargo-udeps || true - - name: Check - run: | - cargo udeps - rm -rf ~/.cargo/advisory-db - name: Test run: cargo test --all