Skip to content

Commit

Permalink
Update the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanUkhov committed Apr 11, 2024
1 parent c251de2 commit 96b6db9
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ jobs:
check:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: ructions/toolchain@v2
with: {toolchain: stable, components: "clippy, rustfmt"}
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
- run: cargo clippy -- -D warnings
- run: cargo fmt --all -- --check

Expand All @@ -25,9 +24,8 @@ jobs:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ructions/toolchain@v2
with: {toolchain: nightly, override: true}
- uses: actions/checkout@v4
- run: rustup toolchain install nightly --profile=minimal
- run: cargo bench

test:
Expand All @@ -36,7 +34,6 @@ jobs:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ructions/toolchain@v2
with: {toolchain: stable}
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile=minimal
- run: cargo test --features bundled

0 comments on commit 96b6db9

Please sign in to comment.