Skip to content

Commit

Permalink
Fixes GitHub Actions to succeed again
Browse files Browse the repository at this point in the history
  • Loading branch information
FortiShield committed Mar 8, 2025
1 parent 3b63acd commit e3a23d2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: build
jobs:
bongonet:
strategy:
fail-fast: false
matrix:
# nightly, MSRV, and latest stable
toolchain: [nightly, 1.72, 1.82.0]
Expand Down Expand Up @@ -34,6 +35,10 @@ jobs:
toolchain: ${{ matrix.toolchain }}
components: rustfmt, clippy

- name: Pin crates to versions for MSRV
run: |
[[ ${{ matrix.toolchain }} != 1.72.0 ]] || (cargo update -p boring --precise 4.13.0 && cargo update -p litemap --precise 0.7.4 && cargo update -p zerofrom --precise 0.1.5)
- name: Run cargo fmt
run: cargo fmt --all -- --check

Expand All @@ -55,4 +60,4 @@ jobs:
- name: Run cargo machete
run: |
[[ ${{ matrix.toolchain }} != 1.72.0 ]] || (cargo install cargo-machete && cargo machete)
[[ ${{ matrix.toolchain }} != 1.82.0 ]] || (cargo install cargo-machete --version 0.7.0 && cargo machete)

0 comments on commit e3a23d2

Please sign in to comment.