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 17, 2024
1 parent 018494c commit ccb9435
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 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 @@ -27,6 +26,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 --${{ matrix.features }}-features

0 comments on commit ccb9435

Please sign in to comment.