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 -3
View File
@@ -1,4 +1,4 @@
.PHONY: build test lint fmt fmt-check vet tidy tidy-check vuln snapshot check run
.PHONY: build test lint fmt fmt-check vet tidy tidy-check vuln release-check snapshot check run
# Without the leading v, as goreleaser's {{ .Version }} reports it.
VERSION ?= $(patsubst v%,%,$(shell git describe --tags --always --dirty 2>/dev/null || echo dev))
@@ -37,14 +37,19 @@ tidy-check:
vuln:
go tool govulncheck ./...
# Validates .goreleaser.yaml without building anything.
release-check:
goreleaser check
# Cross-compiles every shipped target and packs the release archives into
# dist/, publishing nothing.
# dist/, publishing nothing. Run it after changing .goreleaser.yaml or
# packaging/; CI builds binaries only for release tags.
snapshot:
goreleaser release --snapshot --clean
# The gate .gitea/workflows/test.yml runs, in the same order.
# .gitea/workflows/security.yml runs vuln.
check: fmt-check tidy-check vet lint test snapshot
check: fmt-check tidy-check vet lint test release-check
run:
go run ./cmd/uberbringer --config config.toml