ci: switch Go steps to gobuilder, enable S3 build cache #3

Merged
benvin merged 2 commits from benvin/gocache into main 2026-10-03 00:25:04 +10:00

2 Commits

Author SHA1 Message Date
unkin-agent b4d1b3594a ci: bump gobuilder to 0.1.3-alma9
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
0.1.2-alma9 left $GOPATH/bin off PATH, so the package step's
`go install goreleaser` succeeded but `goreleaser` exited 127.
0.1.3-alma9 sets GOPATH=/go and PATH=/go/bin:$PATH.
2026-10-03 00:18:13 +10:00
unkin-agent 5c5a069d57 ci: switch Go steps to gobuilder, enable S3 build cache
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline failed
golang:1.25/1.26 and the stale almalinux9-gobuilder pin are replaced by
gobuilder:0.1.2-alma9 on every step that invokes the Go toolchain, with
GOCACHEPROG wired to the baked-in go-cache-plugin against the shared
S3 cache bucket.

- build.yaml/test.yaml/release.yaml: build+test+goreleaser steps use
  gobuilder, cache env added
- pre-commit.yaml: switch pin, add cache (hooks run go-fmt/go-vet/go-unit-tests)
- lint step (test.yaml) and upload-rpm step left untouched
2026-10-02 23:47:35 +10:00