Skip to content

Commit 5b45810

Browse files
committed
fix: actually test minimal versions
1 parent e9fa231 commit 5b45810

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,30 @@ jobs:
5454
toolchain: ${{ matrix.cargo.rust }}
5555
profile: default
5656
override: true
57+
- name: "Install Rust ${{ matrix.cargo.rust }}"
58+
uses: actions-rs/toolchain@v1
59+
with:
60+
toolchain: nightly
61+
profile: default
62+
override: true
5763

5864
- uses: Swatinem/rust-cache@v2
5965

6066
- uses: taiki-e/install-action@v1
6167
with:
6268
tool: nextest
6369

70+
# Install the minimal versions this package says it supports
71+
# https://users.rust-lang.org/t/psa-please-specify-precise-dependency-versions-in-cargo-toml/71277
72+
# https://github.com/rust-lang/cargo/issues/5657
73+
- name: "Install minimal package versions"
74+
uses: actions-rs/cargo@v1
75+
with:
76+
command: update
77+
toolchain: nightly
78+
env:
79+
RUSTFLAGS: -Z minimal-versions
80+
6481
- name: "Cargo ${{ matrix.cargo.name }}"
6582
uses: actions-rs/cargo@v1
6683
with:

0 commit comments

Comments
 (0)