From a3e2d1bf198cec286ef0a70093f3ca7acd8df60b Mon Sep 17 00:00:00 2001 From: "Esteban \"Skallwar\" Blanc" Date: Tue, 8 Oct 2024 14:46:42 +0200 Subject: [PATCH] use command Signed-off-by: Esteban Blanc --- .github/workflows/clippy.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index e8211fa..5a0ebd8 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -16,10 +16,10 @@ jobs: - uses: cachix/install-nix-action@v27 - - name: Enter nix - run: nix develop - - - run: cd riscv64_qemuvirt && cargo clippy --all-features --target ${{ env.TARGET }} + - run: nix develop -c sh -c " + cd riscv64_qemuvirt && + cargo clippy --all-features --target ${{ env.TARGET }} + " clippy_aarch64: runs-on: ubuntu-latest @@ -30,7 +30,7 @@ jobs: - uses: cachix/install-nix-action@v27 - - name: Enter nix - run: nix develop - - - run: cd aarch64_qemuvirt && cargo clippy --all-features --target ${{ env.TARGET }} + - run: nix develop --command sh -c " + cd riscv64_qemuvirt && + cargo clippy --all-features --target ${{ env.TARGET }} + "