Skip to content

Commit

Permalink
fix: clippy and fmt condition in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukesor committed Jul 4, 2021
1 parent 335b7b8 commit 912cfb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ jobs:

- name: cargo fmt
uses: actions-rs/cargo@v1
if: matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-musl'
if: ${{ matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu' }}
with:
command: fmt
args: --all -- --check

- name: cargo clippy
uses: actions-rs/cargo@v1
if: matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-musl'
if: ${{ matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu' }}
with:
command: clippy
args: -- -D warnings

0 comments on commit 912cfb9

Please sign in to comment.