We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fc2bdd commit 67b0f09Copy full SHA for 67b0f09
.github/workflows/clippy.yml
@@ -0,0 +1,25 @@
1
+name: Clippy
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - staging
8
+ - trying
9
+ pull_request:
10
11
+env:
12
+ CARGO_TERM_COLOR: always
13
14
+jobs:
15
+ clippy:
16
+ name: Clippy
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ with:
21
+ submodules: true
22
+ - name: Rustup (apply rust-toolchain.toml)
23
+ run: rustup show
24
+ - name: Clippy
25
+ run: cargo clippy --all-targets -- -D warnings
rust-toolchain.toml
@@ -1,4 +1,9 @@
[toolchain]
channel = "nightly-2021-05-19"
-components = [ "rustfmt", "rust-src", "llvm-tools-preview"]
+components = [
+ "rust-src",
+ "llvm-tools-preview",
+ "rustfmt",
+ "clippy",
+]
targets = [ "x86_64-unknown-hermit" ]
0 commit comments