File tree 1 file changed +26
-5
lines changed
1 file changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,37 @@ jobs:
23
23
issues : write
24
24
steps :
25
25
- uses : actions/checkout@v4
26
+
27
+ # Cache Cargo dependencies
28
+ - name : Cache Cargo registry
29
+ uses : actions/cache@v3
30
+ with :
31
+ path : ~/.cargo/registry
32
+ key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
33
+ restore-keys : |
34
+ ${{ runner.os }}-cargo-registry-
35
+
36
+ - name : Cache Cargo index
37
+ uses : actions/cache@v3
38
+ with :
39
+ path : ~/.cargo/git
40
+ key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
41
+ restore-keys : |
42
+ ${{ runner.os }}-cargo-index-
43
+
44
+ - name : Cache target directory
45
+ uses : actions/cache@v3
46
+ with :
47
+ path : target
48
+ key : ${{ runner.os }}-cargo-target-${{ hashFiles('**/Cargo.lock') }}
49
+ restore-keys : |
50
+ ${{ runner.os }}-cargo-target-
51
+
26
52
- uses : actions-rust-lang/audit@v1
27
53
name : Audit Rust Dependencies
28
54
with :
29
55
# Comma separated list of issues to ignore
30
56
ignore : RUSTSEC-2020-0036
31
-
32
- security_audit :
33
- runs-on : ubuntu-latest
34
- steps :
35
- - uses : actions/checkout@v4
36
57
- uses : actions-rs/audit-check@v1
37
58
with :
38
59
token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments