Skip to content

Commit

Permalink
ci: use nix develop --command
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo committed Jun 8, 2024
1 parent 86d8517 commit 6c8ac84
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ jobs:

- uses: DeterminateSystems/nix-installer-action@main

- run: nix develop

- name: clippy
run: |
cargo clippy
cargo clippy --target wasm32-unknown-unknown --lib
cargo clippy --target wasm32-unknown-unknown --lib --all-features
nix develop --command cargo clippy
nix develop --command cargo clippy --target wasm32-unknown-unknown --lib
nix develop --command cargo clippy --target wasm32-unknown-unknown --lib --all-features
- name: rustfmt check
run: |
Expand Down

0 comments on commit 6c8ac84

Please sign in to comment.