diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 135ed758813..087cc93b6bd 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -36,10 +36,7 @@ jobs: components: rustfmt - name: Run fmt - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check + run: cargo fmt --all -- --check clippy: runs-on: ubuntu-latest @@ -70,10 +67,7 @@ jobs: run: ./ci/install-build-deps.sh - name: Run clippy - uses: actions-rs/cargo@v1 - with: - command: clippy - args: -Zunstable-options --workspace --all-targets --features test-sbf -- --deny=warnings --deny=clippy::arithmetic_side_effects + run: cargo clippy -Zunstable-options --workspace --all-targets --features test-sbf -- --deny=warnings --deny=clippy::arithmetic_side_effects audit: runs-on: ubuntu-latest