Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ jobs:
tool: nextest
- uses: Swatinem/rust-cache@v2
- run: make test
# Downstreams install this crate with `cargo install`, which ignores the
# committed Cargo.lock and re-resolves every dependency to the latest
# compatible version. Reproduce that here so upstream dependency drift is
# caught in this repo instead of in downstream projects (e.g. Herbie).
# `cargo update` refreshes the lock to latest; the build then uses it.
latest-deps:
runs-on: ubuntu-latest
steps:
- run: echo "CARGO_INCREMENTAL=0" >> "$GITHUB_ENV"
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- run: cargo update
- run: cargo build --release --all-targets
nits:
runs-on: ubuntu-latest
steps:
Expand Down