Skip to content

Commit

Permalink
Run clippy on CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinetiknz committed Mar 15, 2021
1 parent 1c834ba commit e8be415
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,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

- name: Test (release)
shell: bash
run: rustup run ${{ matrix.rust }} cargo test --all --verbose --release
Expand Down

0 comments on commit e8be415

Please sign in to comment.