We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca71de commit 2fb8c73Copy full SHA for 2fb8c73
.github/workflows/rust-ci.yml
@@ -56,10 +56,20 @@ jobs:
56
57
clippy:
58
name: Clippy
59
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
60
+ strategy:
61
+ matrix:
62
+ os: [ubuntu-latest, macOS-latest]
63
steps:
- - uses: actions/checkout@v4
64
+ - uses: actions/checkout@v5
65
- uses: dtolnay/rust-toolchain@stable
66
with:
67
components: clippy
- - run: cargo clippy --workspace --tests --examples --benches -- -D warnings
68
+
69
+ - name: clippy metal
70
+ if: runner.os == 'macOS'
71
+ run: cargo clippy --features=metal --workspace --tests --examples --benches -- -D warnings
72
73
+ - name: clippy
74
+ if: runner.os != 'macOS'
75
+ run: cargo clippy --workspace --tests --examples --benches -- -D warnings
0 commit comments