Skip to content

Commit

Permalink
CI: Add clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
a1phyr committed Feb 28, 2024
1 parent 2959ce1 commit dcbc3af
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, "windows-latest"]
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false

steps:
Expand All @@ -28,6 +28,27 @@ jobs:
- name: Check all features
run: cargo check --all --all-features --exclude symphonia-play

clippy:
name: Check ${{ matrix.os }}

runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: Setup Toolchain
run: rustup install stable && rustup default stable

- name: Check default features
run: cargo clippy --all -- -D warnings

- name: Check all features
run: cargo clippy --all --all-features --exclude symphonia-play -- -D warnings

test:
name: Test ${{ matrix.config.target }} on ${{ matrix.config.os }}

Expand Down

0 comments on commit dcbc3af

Please sign in to comment.