Skip to content

Commit

Permalink
Check with minimal-versions dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
faern committed May 29, 2024
1 parent 8e9553f commit 3fbbd06
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,11 @@ jobs:
# Since the tests modify global state (the system firewall) they cannot run in parallel.
# The integration tests must run as root since they write firewall state (/dev/pf)
run: sudo cargo test -- --test-threads=1

# Make sure the library builds with all dependencies downgraded to their
# oldest versions allowed by the semver spec. This ensures we have not
# under-specified any dependency
- name: Compile with minimal versions
run: |
cargo +nightly update -Z minimal-versions
cargo build --all-targets

0 comments on commit 3fbbd06

Please sign in to comment.