Skip to content

Commit

Permalink
Enable clippy on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinetiknz committed Jul 24, 2021
1 parent c777d6e commit 8ae53ce
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,16 @@ jobs:
submodules: recursive

- name: Install Rust
run: rustup toolchain install ${{ matrix.rust }} --profile minimal --component rustfmt
run: rustup toolchain install ${{ matrix.rust }} --profile minimal --component rustfmt clippy

- name: Check format
shell: bash
run: rustup run ${{ matrix.rust }} cargo fmt --all -- --check

# - name: Clippy
# shell: bash
# run: rustup run ${{ matrix.rust }} cargo clippy --all -- -D warnings
# Skip clippy checks for `systest`
- name: Clippy
shell: bash
run: rustup run ${{ matrix.rust }} cargo clippy -p cubeb -p cubeb-backend -p cubeb-core -p cubeb-sys -- -D warnings

- name: Build
shell: bash
Expand Down

0 comments on commit 8ae53ce

Please sign in to comment.