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
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Pull-request gate. One runner, one job, cancelled when the PR is updated, so a burst of
# PRs never queues behind each other. Cross-platform and release builds run after merge.
# Pull-request gate: fmt + clippy + tests on Ubuntu, and clippy alone on Windows (cfg(windows)
# code is invisible to clippy elsewhere). Both jobs run in parallel and are cancelled when the
# PR is updated. Full cross-platform tests and release builds run after merge.
name: ci

on:
Expand All @@ -26,3 +27,14 @@ jobs:
- run: cargo fmt --all --check
- run: cargo clippy --workspace --all-targets -- -D warnings
- run: cargo test --workspace

check-windows:
runs-on: windows-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --workspace --all-targets -- -D warnings
Loading