Skip to content

Commit 057f22f

Browse files
committed
ci: Use reusable workflows for clippy
1 parent 916999d commit 057f22f

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ defaults:
2828
jobs:
2929
fmt:
3030
uses: smol-rs/.github/.github/workflows/fmt.yml@main
31+
clippy:
32+
uses: smol-rs/.github/.github/workflows/clippy.yml@main
33+
with:
34+
# Windows for windows module.
35+
additional-targets: x86_64-pc-windows-msvc
3136
security_audit:
3237
uses: smol-rs/.github/.github/workflows/security_audit.yml@main
3338
permissions:
@@ -68,11 +73,3 @@ jobs:
6873
- name: Install cargo-hack
6974
uses: taiki-e/install-action@cargo-hack
7075
- run: cargo hack build --rust-version
71-
72-
clippy:
73-
runs-on: ubuntu-latest
74-
steps:
75-
- uses: actions/checkout@v4
76-
- name: Install Rust
77-
run: rustup update stable
78-
- run: cargo clippy --all-features --all-targets

0 commit comments

Comments
 (0)