Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,20 @@ jobs:

clippy:
name: Clippy
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --workspace --tests --examples --benches -- -D warnings

- name: clippy metal
if: runner.os == 'macOS'
run: cargo clippy --features=metal --workspace --tests --examples --benches -- -D warnings

- name: clippy
if: runner.os != 'macOS'
run: cargo clippy --workspace --tests --examples --benches -- -D warnings
Loading