Skip to content

Commit

Permalink
ci: add if(cargo deny action only supports Linux.)
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Aug 3, 2024
1 parent 8ea9cb9 commit 22b6a98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
- name: Lint Check
run: cargo clippy --workspace -- -D warnings

# The action only supports Linux.
- name: Check license, dependencies
if: runner.os == 'Linux'
uses: EmbarkStudios/cargo-deny-action@v2.0.0

test:
Expand Down

0 comments on commit 22b6a98

Please sign in to comment.