Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
Prefer ClementTsang/cargo-action for cwd in steps
Browse files Browse the repository at this point in the history
  • Loading branch information
igbanam committed Oct 21, 2022
1 parent caeb288 commit 6913e34
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/run_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ jobs:
components: rustfmt, clippy
toolchain: ${{ matrix.rust-toolchain }}
- name: Check Format
working-directory: ./rust
uses: actions-rs/cargo@v1
uses: ClementTsang/cargo-action@v0.0.3
with:
args: --all -- --check
command: fmt
directory: ./rust
toolchain: ${{ matrix.rust-toolchain }}
- name: Lint
working-directory: ./rust
uses: actions-rs/cargo@v1
uses: ClementTsang/cargo-action@v0.0.3
with:
args: --all -- -D warnings
command: clippy
directory: ./rust
toolchain: ${{ matrix.rust-toolchain }}
- name: Install Cargo Audit
uses: "actions-rs/cargo@v1"
uses: ClementTsang/cargo-action@v0.0.3
with:
args: "--force cargo-audit"
command: install
Expand Down

0 comments on commit 6913e34

Please sign in to comment.