File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 a ` REUSE.toml ` annotation if a header doesn't fit the file format
99- [ ] ` reuse lint ` passes
1010- [ ] ` zig build test -Doptimize=ReleaseSafe ` passes
11- - [ ] ` zig fmt --check . ` is clean
11+ - [ ] ` zig fmt . ` applied (CI's formatting check is currently non-blocking, see ` CONTRIBUTING.md ` )
Original file line number Diff line number Diff line change 1919 fmt :
2020 name : Formatting
2121 runs-on : ubuntu-latest
22+ # Non-blocking for now: this repo tracks Zig master, and `zig fmt`'s output shifts between
23+ # nightly builds, so a contributor's locally-installed Zig can disagree with whatever CI
24+ # happens to resolve `master` to on a given day. Drop `continue-on-error` once local/CI
25+ # toolchains are pinned to the same version (see CONTRIBUTING.md).
26+ continue-on-error : true
2227 steps :
2328 - uses : actions/checkout@v4
2429
Original file line number Diff line number Diff line change @@ -63,5 +63,9 @@ license of the directory the file lives in. Run `reuse lint` before submitting;
6363
6464## Pull requests
6565
66- Keep PRs scoped to one change. Make sure ` zig build test -Doptimize=ReleaseSafe ` , `zig fmt --check
67- .` , and ` reuse lint` all pass before opening — see the PR template's checklist.
66+ Keep PRs scoped to one change. Make sure ` zig build test -Doptimize=ReleaseSafe ` and ` reuse lint `
67+ both pass before opening — see the PR template's checklist. Run ` zig fmt . ` too, but note that CI's
68+ formatting check is currently non-blocking (` continue-on-error ` ): this repo tracks Zig master, and
69+ ` zig fmt ` 's output can disagree between your locally-installed Zig and whatever nightly CI resolves
70+ ` master ` to on a given day. See the ` fmt ` job in ` .github/workflows/ci-zig.yml ` for the exact
71+ reasoning and when to turn the gate back on.
You can’t perform that action at this time.
0 commit comments