File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 13
13
- uses : actions-rs/toolchain@v1
14
14
with :
15
15
toolchain : ${{ matrix.rust }}
16
- components : clippy
17
16
profile : minimal
18
17
- uses : actions/checkout@master
19
18
- name : Check
@@ -111,13 +110,16 @@ jobs:
111
110
112
111
warnings :
113
112
# Check for any warnings. This is informational and thus is allowed to fail.
114
- needs : check
115
113
runs-on : ubuntu-latest
116
114
steps :
117
115
- uses : actions-rs/toolchain@v1
118
116
with :
119
117
toolchain : stable
118
+ components : clippy
120
119
profile : minimal
121
120
- uses : actions/checkout@master
122
- - name : warnings
123
- run : RUSTFLAGS="-Dwarnings" cargo check --all
121
+ - name : Clippy
122
+ uses : actions-rs/clippy-check@v1
123
+ with :
124
+ token : ${{ secrets.TOKIO_TRACING_CLIPPY_TOKEN }}
125
+ args : --all --bins --examples --tests --benches -- -D warnings
You can’t perform that action at this time.
0 commit comments