Build binaries only for release tags on main
Security / Vulnerability check (push) Successful in 51s
Test / Lint and test (push) Successful in 2m0s

Branch CI no longer runs the GoReleaser snapshot build. test.yml lints,
tests and runs `goreleaser check`, which validates the release config
without compiling; release.yml stays the only workflow that builds, and
only for v* tags whose commit is on main. `make check` mirrors this with a
release-check target, and `make snapshot` remains for local packaging
checks.

0.2.0 is not yet released, so its notes now say it ships under EUPL-1.2:
the licence entry moves into the 0.2.0 section, dated 2026-11-30, and
README states that releases up to 0.1.2 were published under AGPL-3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
57_WolveandClaude Opus 5.5 committed 2026-11-30 00:15:58 -06:00
1 parent 25d997fcd1
commit 853e8a9910
7 files changed
+39 -31

No files matched your search

+8 -5
View File
@@ -468,10 +468,12 @@ order:
3. `go vet`.
4. staticcheck.
5. `go test -race -timeout 5m`.
6. `snapshot`: `goreleaser release --snapshot --clean`.
6. `release-check`: `goreleaser check`, which validates the release config
without building.
It needs goreleaser installed. govulncheck is not part of it; run
`make vuln`. `make` builds report the version without the leading `v`, e.g.
`make vuln`. `make snapshot` builds the release archives locally; run it after
changing `.goreleaser.yaml` or `packaging/`. `make` builds report the version without the leading `v`, e.g.
`0.1.2-3-gabc1234`, as release binaries do.
The linters are pinned as Go tools in `go.mod`, so `go tool staticcheck`,
@@ -503,8 +505,9 @@ docs/ Design notes and feature plans
CI runs on the Gitea runner from `.gitea/workflows/`. The repository has no
`.github/` directory.
- `test.yml` runs the `make check` gate on every branch push. It does not run
on pull requests or tags.
- `test.yml` runs the `make check` gate on every branch push. It lints, tests
and validates the release config, but builds no binaries, and it does not
run on pull requests or tags. Binaries are built only by `release.yml`.
- `security.yml` runs govulncheck on pushes to main and every Monday at
06:00 UTC. Scheduled runs use main's copy of the workflow.
- `release.yml` builds and publishes a release with goreleaser 2.20.3 when a
@@ -522,5 +525,5 @@ Copyright © 2025-2026 William Gill.
Licensed under the European Union Public Licence v. 1.2 (EUPL-1.2). The full
text is in [LICENSE.txt](LICENSE.txt), and translations into every official EU
language are equally valid. Releases up to and including 0.2.0 were published
language are equally valid. Releases up to and including 0.1.2 were published
under the GNU Affero General Public License v3.0.