Skip to content

Commit

Permalink
Add CI step to test minimum versions (#31)
Browse files Browse the repository at this point in the history
* Add CI step to test minimum versions

* Add `rust-version` to `Cargo.toml`

* Revert "Add `rust-version` to `Cargo.toml`"

This reverts commit 4aa92fe.

* Only cargo check
  • Loading branch information
eopb authored Jul 26, 2023
1 parent 7a87023 commit 686ddc0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,21 @@ jobs:
- uses: actions/checkout@v3
- name: doc
run: cargo doc --all-features
minimal:
runs-on: ubuntu-latest
name: ubuntu / stable / minimal-versions
steps:
- uses: actions/checkout@v3
- name: Install stable
uses: dtolnay/rust-toolchain@stable
- name: Install nightly for -Zminimal-versions
uses: dtolnay/rust-toolchain@nightly
- name: rustup default stable
run: rustup default stable
- name: cargo update -Zminimal-versions
run: cargo +nightly update -Zminimal-versions
- name: cargo check
run: cargo check --locked --all-features
msrv:
runs-on: ubuntu-latest
# we use a matrix here just because env can't be used in job names
Expand Down

0 comments on commit 686ddc0

Please sign in to comment.