Skip to content
Merged
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
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
check:
name: mise run check
runs-on: ubuntu-24.04
timeout-minutes: 20
# Cold builds compile every dependency at opt-level 2 (dev-profile override
# in the root Cargo.toml) and do not fit in 20 minutes; warm runs restored
# from the Rust cache below finish well under it.
timeout-minutes: 40

steps:
- name: Check out repository
Expand All @@ -31,6 +34,13 @@ jobs:
version: 2026.6.1
cache: true

- name: Cache Rust build artifacts
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
with:
# Save the cache even when the quality gate fails or the job is
# cancelled, so one slow cold run still warms every later run.
cache-on-failure: true

- name: Install Rust quality components
run: mise exec -- rustup component add clippy rustfmt

Expand Down