Skip to content

Commit 5c526ef

Browse files
committed
enable clippy support
1 parent c8a154f commit 5c526ef

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,23 @@ env:
1313
RUSTDOCFLAGS: -Dwarnings
1414

1515
jobs:
16+
clippy:
17+
name: Clippy
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
with:
22+
submodules: true
23+
- uses: dtolnay/rust-toolchain@nightly
24+
with:
25+
components: rust-src
26+
- uses: mkroening/rust-toolchain-toml@main
27+
- run: |
28+
rustup component add clippy llvm-tools
29+
- name: Clippy
30+
run: |
31+
cargo clippy --target x86_64-unknown-none
32+
1633
format:
1734
name: Format
1835
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)