File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 26
26
cargo clippy -- --version
27
27
cargo clippy --workspace --all-targets -- -Dwarnings
28
28
29
+ cargo-vet :
30
+ runs-on : ubuntu-24.04
31
+
32
+ env :
33
+ CARGO_VET_VERSION : 0.10.1
34
+
35
+ steps :
36
+ - uses : actions/checkout@v4
37
+
38
+ - uses : actions/cache@v4
39
+ with :
40
+ path : ${{ runner.tool_cache }}/cargo-vet
41
+ key : cargo-vet-bin-${{ env.CARGO_VET_VERSION }}
42
+
43
+ - name : Add the tool cache directory to the search path
44
+ run : echo "${{ runner.tool_cache }}/cargo-vet/bin" >> $GITHUB_PATH
45
+
46
+ - name : Ensure that the tool cache is populated with the cargo-vet binary
47
+ run : cargo install --root ${{ runner.tool_cache }}/cargo-vet --version ${{ env.CARGO_VET_VERSION }} cargo-vet
48
+
49
+ - name : Invoke cargo-vet
50
+ run : cargo vet --locked
51
+
29
52
build :
30
53
strategy :
31
54
matrix :
You can’t perform that action at this time.
0 commit comments