Skip to content

Commit

Permalink
👷 Remove macos and windows in check to speedup
Browse files Browse the repository at this point in the history
  • Loading branch information
nicks96432 committed Jan 7, 2024
1 parent bf7c4f1 commit 7c3d396
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
os: [ubuntu-latest]

steps:
- name: Check out
Expand Down Expand Up @@ -48,7 +48,6 @@ jobs:
run: cargo install cargo-deny cargo-outdated cargo-udeps cargo-audit cargo-pants || true

- name: Check
if: ${{ !contains('Windows', runner.os) }}
run: |
cargo deny check
cargo outdated --exit-code 1
Expand All @@ -57,15 +56,5 @@ jobs:
cargo audit
cargo pants
- name: Check
if: ${{ contains('Windows', runner.os) }}
run: |
cargo deny check
cargo outdated --exit-code 1
cargo udeps
rm -Recurse -Force ~/.cargo/advisory-db
cargo audit
cargo pants
- name: Test
run: cargo test

0 comments on commit 7c3d396

Please sign in to comment.