go, gradle, lint: small shared workflows #10

Merged
james.maes merged 5 commits from small-workflows into main 2026-11-08 14:56:13 +00:00
5 Commits
Author SHA1 Message Date
James MaesandClaude Opus 5.5 964d4a8a22 go, gradle: a release without the asset yet is not an error
grep finds no asset to replace on a fresh release; under pipefail that
ended the step silently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 08:50:14 -06:00
James MaesandClaude Opus 5.5 1df074d058 go, gradle: release with the job token
The org PACKAGES_TOKEN got HTTP 403 on the release lookup (license-tool
proof tag); the job token with contents: write creates and fills the
release, so the workflows need no secret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 08:47:55 -06:00
James MaesandClaude Opus 5.5 55e4f9f71a lint: name ansible.cfg explicitly; README: Go, Gradle and Lint
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 08:44:28 -06:00
James MaesandClaude Opus 5.5 194fc721d6 gradle: gradle:jdk<N> image (checkout needs git); lint: markdownlint in the lint job
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 08:33:18 -06:00
James MaesandClaude Opus 5.5 7674d24f20 go, gradle, lint: small shared workflows
go.yaml: gofmt, go vet, optional golangci-lint (pinned, sha256-verified),
go test (optional race), extra gate commands, and on v* tags release
commands plus artifacts with SHA256SUMS on the Gitea release.

gradle.yaml: verified Gradle wrapper (official jar and distribution
checksum), ./gradlew task lines, artifacts on v* tags.

lint.yaml: opt-in shellcheck, yamllint, JSON, ruff, tofu fmt/validate,
markdownlint and ansible-lint; every tool pinned and checksum- or
digest-verified; git-crypt files always skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 08:24:51 -06:00