forgejo-mcp/.tekton
Christoph Görn 738d979553 ci: 🚀 add vet, gofmt-check, mod-tidy, lint, race, govulncheck to go-ci
Extend the Tekton go-ci task with correctness and supply-chain gates that
previously had no CI coverage:

- go vet ./...
- gofmt -l (fails on unformatted files)
- go mod tidy drift check
- golangci-lint (warn-only via LINT_REQUIRED=false until baseline cleanup)
- go test -race -shuffle=on -count=1
- govulncheck ./... (symbol-reachable vulns fail the build)

Refactor existing steps onto a stepTemplate so env (GOFLAGS, GOCACHE,
GOMODCACHE, GOTOOLCHAIN=local) is shared. Pin GOTOOLCHAIN to prevent
silent toolchain upgrades inside CI.

Add minimal .golangci.yml enabling errcheck, gofmt, govet, ineffassign,
staticcheck, unused, misspell, bodyclose, errorlint. Tests exempted from
errcheck/bodyclose. Flip LINT_REQUIRED=true after the cleanup PR lands.

Refs forgejo-mcp-f37.
2026-05-24 09:24:48 +02:00
..
tasks ci: 🚀 add vet, gofmt-check, mod-tidy, lint, race, govulncheck to go-ci 2026-05-24 09:24:48 +02:00
code-scans.yaml ci: 🚀 add gitleaks scanning (Tekton + pre-commit) 2026-05-12 13:08:14 +02:00
on-pull-request.yaml ci: 🚀 migrate CI from Forgejo Actions to op1st Tekton 2026-05-12 08:39:45 +02:00
on-push-to-main.yaml ci: 🚀 migrate CI from Forgejo Actions to op1st Tekton 2026-05-12 08:39:45 +02:00
openspec-validate-pr.yaml ci: 🚀 drop redundant PaC annotations on openspec-validate 2026-05-12 13:14:19 +02:00
openspec-validate-push.yaml ci: 🚀 drop redundant PaC annotations on openspec-validate 2026-05-12 13:14:19 +02:00
repository.yaml ci: 🚀 migrate CI from Forgejo Actions to op1st Tekton 2026-05-12 08:39:45 +02:00