File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,21 @@ jobs:
1111
1212 steps :
1313 - uses : actions/checkout@v1
14- - name : Install toolchain
15- uses : actions-rs/toolchain@v1
14+ - uses : actions-rs/toolchain@v1
1615 with :
1716 toolchain : ${{ matrix.rust }}
1817 profile : minimal
1918 default : true
20- - name : Build
21- run : cargo build --verbose
22- - name : Run tests
23- run : cargo test --verbose
24- - name : Run clippy
25- if : matrix.rust == 'nightly'
26- run : cargo clippy -- -D warnings
19+ - run : cargo build --verbose
20+ - run : cargo test --verbose
21+ clippy :
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v1
25+ - uses : actions-rs/toolchain@v1
26+ with :
27+ profile : minimal
28+ toolchain : nightly
29+ override : true
30+ components : clippy
31+ - run : cargo clippy -- -D warnings
You can’t perform that action at this time.
0 commit comments