Skip to content

Commit

Permalink
Pin boring version to 4.13 for MSRV tests.
Browse files Browse the repository at this point in the history
Boring 4.14 requires Rust 1.80
  • Loading branch information
eaufavor committed Feb 21, 2025
1 parent c382ff6 commit 66a6621
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
# nightly, MSRV, and latest stable
toolchain: [nightly, 1.72, 1.82.0]
toolchain: [nightly, 1.72.0, 1.82.0]
runs-on: ubuntu-latest
# Only run on "pull_request" event for external PRs. This is to avoid
# duplicate builds for PRs created from internal branches.
Expand All @@ -34,6 +34,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
- name: Run cargo fmt
run: cargo fmt --all -- --check

Expand All @@ -55,4 +59,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 && cargo machete)

0 comments on commit 66a6621

Please sign in to comment.