From e38c8bc3ec599a1e28ad851db50716fc6b393d5f 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 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index e8211fa..83965ab 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -16,10 +16,13 @@ jobs: - uses: cachix/install-nix-action@v27 - - name: Enter nix - run: nix develop + - name: Setup upterm session + uses: lhotari/action-upterm@v1 - - run: cd riscv64_qemuvirt && cargo clippy --all-features --target ${{ env.TARGET }} + - run: nix develop -c sh " + cd riscv64_qemuvirt && + cargo clippy --all-features --target ${{ env.TARGET }} + " clippy_aarch64: runs-on: ubuntu-latest @@ -30,7 +33,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 -c sh " + cd riscv64_qemuvirt && + cargo clippy --all-features --target ${{ env.TARGET }} + "