File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Semver
2+
3+ permissions :
4+ id-token : write
5+ contents : read
6+
7+ # Informational only: cargo-semver-checks flags accidental breaking changes
8+ # against the crates.io baseline. Scoped to PRs targeting main, since wire and
9+ # API breakage lands on dev where bumps are expected. This is not a required
10+ # check; a red result is a heads-up to bump the version, not a merge blocker.
11+ on :
12+ pull_request :
13+ branches : [main]
14+
15+ # Cancel in-flight runs when a new commit lands on the same PR.
16+ concurrency :
17+ group : semver-${{ github.ref }}
18+ cancel-in-progress : true
19+
20+ jobs :
21+ semver :
22+ name : Semver
23+ runs-on : ubuntu-latest
24+
25+ steps :
26+ - name : Free disk space
27+ uses : jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # main
28+ with :
29+ tool-cache : false
30+
31+ - name : Checkout
32+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
33+ with :
34+ persist-credentials : false
35+
36+ - uses : DeterminateSystems/nix-installer-action@1d87d45818068401a10cf16bdc5f00b24994a83f # main
37+ with :
38+ determinate : false
39+ - uses : DeterminateSystems/magic-nix-cache-action@908b263ff629f4cc17666315b7fd3ec127c6244d # main
40+ - uses : DeterminateSystems/flake-checker-action@89c01715e5d0dfdc0a1bfe9d59891ee4945c1483 # main
41+
42+ # Cache Rust dependencies and build artifacts
43+ - name : Rust Cache
44+ uses : Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
45+ with :
46+ cache-on-failure : true
47+
48+ - run : nix develop --command just rs semver
You can’t perform that action at this time.
0 commit comments