We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cargo-vet
1 parent ad3759f commit 9dcfb8bCopy full SHA for 9dcfb8b
1 file changed
.github/workflows/ci.yml
@@ -36,7 +36,14 @@ jobs:
36
persist-credentials: false
37
- name: Install Rust
38
run: rustup update stable && rustup default stable
39
- - name: Install cargo-vet
+ - name: Check cache for cargo-vet
40
+ id: cache-cargo-vet
41
+ uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
42
+ with:
43
+ path: ~/.cargo/bin/cargo-vet
44
+ key: cargo-vet-bin-${{ env.CARGO_VET_VERSION }}
45
+ - if: ${{ steps.cache-cargo-vet.outputs.cache-hit != 'true' }}
46
+ name: Install cargo-vet
47
run: cargo install --locked --version ${CARGO_VET_VERSION} cargo-vet
48
- name: Invoke cargo-vet
49
run: cargo vet --locked
0 commit comments