Skip to content

Commit

Permalink
Test minimal versions in CI (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia committed Feb 11, 2024
1 parent a6425ca commit ec8dbe9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2,087 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,17 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- uses: dtolnay/rust-toolchain@nightly
if: ${{ matrix.rust == '1.57.0' }}
- name: Generate Cargo.lock with minimal-version dependencies
if: ${{ matrix.rust == '1.57.0' }}
run: cargo -Zminimal-versions generate-lockfile

- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- if: ${{ matrix.rust == '1.57.0' }}
run: mv Cargo.lock.msrv Cargo.lock
- name: build
run: |
cargo build --verbose
Expand Down
Loading

0 comments on commit ec8dbe9

Please sign in to comment.