Skip to content

Commit cb1ddb9

Browse files
mxindentheskim
authored andcommitted
ci: downgrade crates when building for Rust 1.67.0 (#1003)
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.
1 parent bed0798 commit cb1ddb9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,18 @@ jobs:
3737
toolchain: ${{ matrix.rust }}
3838
# Add toolchain for no_std tests
3939
- run: rustup toolchain install nightly
40-
- name: Downgrade idna_adapter on Rust 1.63.0
40+
- name: Downgrade deps on Rust 1.63.0
4141
if: |
4242
matrix.rust == '1.63.0'
43-
run: cargo update -p idna_adapter --precise 1.1.0
43+
run: |
44+
cargo update -p idna_adapter --precise 1.1.0
45+
- name: Downgrade deps on Rust 1.67.0
46+
if: |
47+
matrix.rust == '1.67.0'
48+
run: |
49+
cargo update -p zerofrom --precise 0.1.4
50+
cargo update -p yoke --precise 0.7.4
51+
cargo update -p litemap --precise 0.7.3
4452
- name: Add `aarch64-unknown-none` toolchain for `no_std` tests
4553
if: |
4654
matrix.os == 'ubuntu-latest' &&

0 commit comments

Comments
 (0)