Skip to content

Commit

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

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

test:
Expand All @@ -37,6 +35,5 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ructions/toolchain@v2
with: {toolchain: stable}
- run: rustup toolchain install stable --profile=minimal
- run: cargo test

0 comments on commit 83a40f9

Please sign in to comment.