Skip to content

Commit 3679f50

Browse files
committed
Use -Zminimal-versions dependency versions
1 parent 0ecab92 commit 3679f50

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
fail-fast: false
3434
matrix:
3535
include:
36-
# Android (breaks MSRV with `indexmap`, which Rust 1.71.1 doesn't allow easily pinning)
37-
# - target: aarch64-linux-android
36+
# Android
37+
- target: aarch64-linux-android
3838

3939
# CoreGraphics
4040
- target: aarch64-apple-darwin
@@ -70,6 +70,10 @@ jobs:
7070
rust-version: '1.71.1'
7171
targets: ${{ matrix.target }}
7272

73+
- name: Use minimal dependency versions
74+
# RUSTC_BOOTSTRAP=1 is kind of a hack, but it's cumbersome and slow to install the nightly toolchain.
75+
run: RUSTC_BOOTSTRAP=1 cargo -Zminimal-versions generate-lockfile
76+
7377
- name: Check that crate compiles
7478
run: cargo check --verbose --target ${{ matrix.target }} ${{ matrix.features && '--no-default-features --features' }} ${{ matrix.features }}
7579

0 commit comments

Comments
 (0)