Skip to content

Commit

Permalink
ci: downgrade crates when building for Rust 1.67.0 (#1003)
Browse files Browse the repository at this point in the history
Crates from the https://github.com/unicode-org/icu4x workspace got a round of
releases recently, increasing the minimum Rust version.

When building this project with Rust 1.67.0, make sure to downgrade some of the
dependencies like is already done for Rust 1.63.0.
  • Loading branch information
mxinden authored Nov 27, 2024
1 parent 797b2e2 commit e7ee5c6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,18 @@ jobs:
toolchain: ${{ matrix.rust }}
# Add toolchain for no_std tests
- run: rustup toolchain install nightly
- name: Downgrade idna_adapter on Rust 1.63.0
- name: Downgrade deps on Rust 1.63.0
if: |
matrix.rust == '1.63.0'
run: cargo update -p idna_adapter --precise 1.1.0
run: |
cargo update -p idna_adapter --precise 1.1.0
- name: Downgrade deps on Rust 1.67.0
if: |
matrix.rust == '1.67.0'
run: |
cargo update -p zerofrom --precise 0.1.4
cargo update -p yoke --precise 0.7.4
cargo update -p litemap --precise 0.7.3
- name: Add `aarch64-unknown-none` toolchain for `no_std` tests
if: |
matrix.os == 'ubuntu-latest' &&
Expand Down

0 comments on commit e7ee5c6

Please sign in to comment.