From 65ba126a5e071c8e74af381ff22303ba54361bba Mon Sep 17 00:00:00 2001 From: Rim Rakhimov Date: Thu, 27 Jun 2024 13:18:54 +0400 Subject: [PATCH] Add working-directory into every linting step --- .github/workflows/r_linting.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/r_linting.yml b/.github/workflows/r_linting.yml index f8a0039ba..5aac07ca1 100644 --- a/.github/workflows/r_linting.yml +++ b/.github/workflows/r_linting.yml @@ -20,14 +20,14 @@ jobs: working-directory: ${{ inputs.working-directory }} components: rustfmt, clippy - - name: Enter working directory - run: cd ${{ inputs.working-directory }} - - name: cargo fmt run: cargo fmt --all -- --check --config imports_granularity=Crate + working-directory: ${{ inputs.working-directory }} - name: cargo clippy run: cargo clippy --all --all-targets --all-features -- -D warnings + working-directory: ${{ inputs.working-directory }} - name: cargo doc run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --document-private-items + working-directory: ${{ inputs.working-directory }}