Skip to content

Commit

Permalink
Test build with minimal versions from CI (#359)
Browse files Browse the repository at this point in the history
Adjust minimal dependency versions so that they actually work
  • Loading branch information
sourcefrog authored Jun 9, 2024
2 parents 68ebbc2 + 0a461a5 commit 4afab83
Show file tree
Hide file tree
Showing 3 changed files with 522 additions and 287 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,23 @@ jobs:
- run: cargo update
- run: cargo build --all-targets

minimal-versions:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
- run: cargo +nightly -Zdirect-minimal-versions update
- run: cargo build --all-targets
- uses: taiki-e/install-action@v2
name: Install nextest using install-action
with:
tool: nextest
- run: cargo test

# Install from a checkout of the source, to find broken dependencies etc.
# We run this on various versions because some dependencies might have changed
# their MSRV, and on every platform because there are platform-specific
Expand Down
Loading

0 comments on commit 4afab83

Please sign in to comment.