Skip to content

Commit c5cbf2f

Browse files
committed
run clippy on 3 major platforms
1 parent 5997a8b commit c5cbf2f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ jobs:
3030
run: ./ci/style.sh
3131

3232
clippy:
33-
name: Clippy check
34-
runs-on: ubuntu-24.04
33+
name: Clippy on ${{ matrix.os }}
34+
strategy:
35+
matrix:
36+
os: [ubuntu-24.04, macos-14, windows-2022]
37+
runs-on: ${{ matrix.os }}
3538
timeout-minutes: 10
3639
steps:
3740
- uses: actions/checkout@v4
@@ -299,7 +302,8 @@ jobs:
299302
- verify_build
300303
- ctest_msrv
301304
- docs
302-
# Github branch protection is exceedingly silly and treats "jobs skipped because a dependency
305+
- clippy
306+
# GitHub branch protection is exceedingly silly and treats "jobs skipped because a dependency
303307
# failed" as success. So we have to do some contortions to ensure the job fails if any of its
304308
# dependencies fails.
305309
if: always() # make sure this is never "skipped"

0 commit comments

Comments
 (0)