Skip to content

Commit 69004f5

Browse files
committed
ci: Use reusable workflows for clippy
1 parent 1efb87d commit 69004f5

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 channel 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:
@@ -71,11 +76,3 @@ jobs:
7176
- name: Install Rust
7277
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
7378
- run: cargo build
74-
75-
clippy:
76-
runs-on: ubuntu-latest
77-
steps:
78-
- uses: actions/checkout@v4
79-
- name: Install Rust
80-
run: rustup update stable
81-
- run: cargo clippy --all-features --all-targets

0 commit comments

Comments
 (0)