Build binaries only for release tags on main
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:
1 parent
25d997fcd1
commit
853e8a9910
7 files changed
+39
-31
No files matched your search
@@ -56,8 +56,10 @@ Read the test output back from the file. The per-package `-timeout 5m` makes a
|
||||
hung test fail with every goroutine's stack. Without it, the tool's own time
|
||||
limit would kill the run first. staticcheck, goimports and govulncheck are
|
||||
pinned as tools in `go.mod`, so never install them separately.
|
||||
`.gitea/workflows/test.yml` runs the same gate on every branch push, and
|
||||
`security.yml` runs govulncheck weekly and on pushes to main. A change is done
|
||||
`.gitea/workflows/test.yml` runs the same gate, with `goreleaser check` in
|
||||
place of the snapshot, on every branch push. It builds no binaries: only
|
||||
`release.yml` does, for `v*` tags on main. `security.yml` runs govulncheck
|
||||
weekly and on pushes to main. A change is done
|
||||
when the gate passes and README and CHANGELOG.md say what changed.
|
||||
|
||||
## Go version
|
||||
|
||||
Reference in new issue
Block a user