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 ed01e3d commit a68bb9e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,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 @@ -21,8 +20,7 @@ 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
- run: cargo test --features bundled

0 comments on commit a68bb9e

Please sign in to comment.