File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1515 profile : minimal
1616 toolchain : nightly
1717 override : true
18+ - name : Install clippy
19+ run : rustup component add clippy
1820 - name : Running benchmarks
1921 env :
2022 DO_BENCH : true
2729 env :
2830 DO_FMT : true
2931 run : ./contrib/test.sh
32+ - name : Running linter
33+ env :
34+ DO_LINT : true
35+ run : ./contrib/test.sh
3036
3137 Int-tests :
3238 name : Integration tests
Original file line number Diff line number Diff line change 3333# Defaults / sanity checks
3434cargo test
3535
36+ if [ " $DO_LINT " = true ]; then
37+ clippy=" cargo +nightly clippy"
38+
39+ $clippy --all-features --all-targets -- -D warnings
40+ $clippy --all-targets -- -D warnings
41+ $clippy --no-default-features --features=no-std --all-targets -- -D warnings
42+ fi
43+
3644if [ " $DO_FEATURE_MATRIX " = true ]
3745then
3846 # All features
You can’t perform that action at this time.
0 commit comments