Skip to content

Commit 5fd02fe

Browse files
committed
Run clippy CI on more targets
This adds MacOS and Windows to the list of hosts for running the clippy job. This is intended to prevent warnings from being added to the code which happens from time to time. This still doesn't have 100% coverage of all code/targets, but this should cover the vast majority.
1 parent edba308 commit 5fd02fe

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,17 @@ jobs:
6464

6565
# Ensure there are no clippy warnings
6666
clippy:
67-
runs-on: ubuntu-latest
67+
strategy:
68+
matrix:
69+
include:
70+
- name: Linux x86_64
71+
os: ubuntu-latest
72+
- name: macOS aarch64
73+
os: macos-14
74+
- name: Windows x86_64 MSVC
75+
os: windows-latest
76+
name: Clippy ${{ matrix.name }}
77+
runs-on: ${{ matrix.os }}
6878
steps:
6979
- uses: actions/checkout@v5
7080
- run: rustup update stable && rustup default stable

0 commit comments

Comments
 (0)