Skip to content

Commit

Permalink
Test build with minimal versions from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Jun 9, 2024
1 parent 7a25bb6 commit d84937b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ jobs:
- run: cargo update
- run: cargo build --all-targets

build-minimal-versions:
runs-on: ubuntu-latest
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

# 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

0 comments on commit d84937b

Please sign in to comment.