File tree 2 files changed +9
-2
lines changed 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 82
82
[ -n "${{ matrix.channel }}" ] && channel="${{ matrix.channel }}"
83
83
rustup update "$channel" --no-self-update
84
84
rustup default "$channel"
85
- rustup target add ${{ matrix.target }}
86
- rustup component add llvm-tools-preview
85
+ rustup target add " ${{ matrix.target }}"
86
+ rustup component add clippy llvm-tools-preview
87
87
- uses : Swatinem/rust-cache@v2
88
88
with :
89
89
key : ${{ matrix.target }}
@@ -105,6 +105,12 @@ jobs:
105
105
rustup target add x86_64-unknown-linux-musl
106
106
cargo generate-lockfile && ./ci/run-docker.sh ${{ matrix.target }}
107
107
108
+ - name : Clippy
109
+ run : |
110
+ # Run clippy on `libm`
111
+ cargo clippy --target "${{ matrix.target }}" --package libm
112
+
113
+
108
114
builtins :
109
115
name : Check use with compiler-builtins
110
116
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 88
88
$cmd --benches
89
89
$cmd --benches --release
90
90
fi
91
+
You can’t perform that action at this time.
0 commit comments