Skip to content

Commit

Permalink
use command
Browse files Browse the repository at this point in the history
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
  • Loading branch information
Skallwar committed Oct 8, 2024
1 parent 8a13a6e commit 762354a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ 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 "
cargo --version &&
cd riscv64_qemuvirt &&
cargo clippy --all-features --target ${{ env.TARGET }}
"
clippy_aarch64:
runs-on: ubuntu-latest
Expand All @@ -30,7 +31,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 }}
"

0 comments on commit 762354a

Please sign in to comment.