Lint on all platforms and targets
@@ -77,14 +77,12 @@ jobs:
- name: cargo fmt
uses: actions-rs/cargo@v1
- 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-gnu' }}
with:
command: clippy
args: --tests --workspace -- -D warnings
