File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Audit
2
2
3
3
on :
4
4
push :
5
+ pull_request :
5
6
paths :
6
7
- " **/Cargo.toml"
7
8
- " **/Cargo.lock"
Original file line number Diff line number Diff line change 17
17
with :
18
18
toolchain : stable
19
19
override : true
20
+ - uses : actions-rs/cargo@v1
21
+ with :
22
+ command : install
23
+ args : cargo-sweep
20
24
21
25
- name : Cache directories
22
26
uses : actions/cache@v2
35
39
restore-keys : |
36
40
cargo-test-build-${{ steps.install.outputs.rustc_hash }}-
37
41
cargo-test-build-
38
- - uses : actions-rs/cargo@v1
39
- with :
40
- command : install
41
- args : cargo-sweep
42
42
43
43
- name : Register artifacts
44
44
uses : actions-rs/cargo@v1
@@ -102,6 +102,10 @@ jobs:
102
102
toolchain : stable
103
103
override : true
104
104
components : clippy
105
+ - uses : actions-rs/cargo@v1
106
+ with :
107
+ command : install
108
+ args : cargo-sweep
105
109
106
110
- name : Cache directories
107
111
uses : actions/cache@v2
@@ -120,10 +124,6 @@ jobs:
120
124
restore-keys : |
121
125
cargo-clippy-${{ steps.install.outputs.rustc_hash }}-
122
126
cargo-clippy-
123
- - uses : actions-rs/cargo@v1
124
- with :
125
- command : install
126
- args : cargo-sweep
127
127
128
128
- name : Register artifacts
129
129
uses : actions-rs/cargo@v1
Original file line number Diff line number Diff line change 18
18
with :
19
19
toolchain : stable
20
20
override : true
21
+ - uses : actions-rs/cargo@v1
22
+ with :
23
+ command : install
24
+ args : cargo-sweep
21
25
22
26
- name : Cache directories
23
27
uses : actions/cache@v1
36
40
restore-keys : |
37
41
cargo-deps-build-${{ steps.install.outputs.rustc_hash }}-
38
42
cargo-deps-build-
39
- - uses : actions-rs/cargo@v1
40
- with :
41
- command : install
42
- args : cargo-sweep
43
43
44
44
- name : Register artifacts
45
45
uses : actions-rs/cargo@v1
You can’t perform that action at this time.
0 commit comments