Skip to content

Commit

Permalink
CI: Add Clippy to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Dec 28, 2024
1 parent 4d51130 commit d7469ea
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install alsa
shell: bash
run: sudo apt install libasound2-dev
- run: cargo build
- run: cargo build --workspace

build-sf3:
name: Build
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Install alsa
shell: bash
run: sudo apt install libasound2-dev
- run: cargo build --features sf3
- run: cargo build --workspace --features sf3

build-i16-out:
name: Build
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Install alsa
shell: bash
run: sudo apt install libasound2-dev
- run: cargo build --features i16-out
- run: cargo build --workspace --features i16-out

test:
name: Test Suite
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Install alsa
shell: bash
run: sudo apt install libasound2-dev
- run: cargo test
- run: cargo test --workspace

fmt:
name: Rustfmt
Expand All @@ -54,9 +54,12 @@ jobs:
- uses: actions/checkout@v2
- run: cargo fmt --all -- --check

# clippy:
# name: Clippy
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - run: cargo clippy -- -D warnings
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install alsa
shell: bash
run: sudo apt install libasound2-dev
- run: cargo clippy --workspace -- -D warnings

0 comments on commit d7469ea

Please sign in to comment.