From 8114e802992c5dcd4aed5e92fee9a3ca57e4a17f Mon Sep 17 00:00:00 2001 From: Owajigbanam Ogbuluijah Date: Fri, 21 Oct 2022 22:05:06 +0000 Subject: [PATCH] Prefer ClementTsang/cargo-action for cwd in steps --- .github/workflows/run_checks.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run_checks.yaml b/.github/workflows/run_checks.yaml index 794b5010c..182979c91 100644 --- a/.github/workflows/run_checks.yaml +++ b/.github/workflows/run_checks.yaml @@ -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