Skip to content

Commit

Permalink
fix: actually test minimal versions
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Feb 15, 2024
1 parent 8a70282 commit be0c02d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,29 @@ jobs:
toolchain: ${{ matrix.cargo.rust }}
profile: default
override: true
- name: "Install Rust nightly"
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal

- uses: Swatinem/rust-cache@v2

- uses: taiki-e/install-action@v1
with:
tool: nextest

# Install the minimal versions this package says it supports
# https://users.rust-lang.org/t/psa-please-specify-precise-dependency-versions-in-cargo-toml/71277
# https://github.com/rust-lang/cargo/issues/5657
- name: "Install minimal package versions"
uses: actions-rs/cargo@v1
with:
command: update
toolchain: nightly
env:
RUSTFLAGS: -Z minimal-versions

- name: "Cargo ${{ matrix.cargo.name }}"
uses: actions-rs/cargo@v1
with:
Expand Down

0 comments on commit be0c02d

Please sign in to comment.