Skip to content

Standardize CI/CD workflows#23

Open
mnuck wants to merge 1 commit into
mainfrom
standardize-ci
Open

Standardize CI/CD workflows#23
mnuck wants to merge 1 commit into
mainfrom
standardize-ci

Conversation

@mnuck

@mnuck mnuck commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Standardizes CI/CD workflows across all torn Go repos.

CI (ci.yml) — new or updated in all repos:

  • go mod verify + go vet ./...
  • golangci-lint-action@v8 (with .golangci.yml)
  • go test -race ./...
  • gosec → SARIF upload
  • Binary + Docker build smoke test (gates on test + security passing)

CD (cd.yml) — container repos:

  • Multi-arch build + push to ghcr.io
  • Trivy CRITICAL/HIGH scan with SARIF upload
  • cosign image signing + verification
  • Fixed: build-push-action pinned to v6, Trivy output as SARIF instead of raw JSON, COSIGN_EXPERIMENTAL removed (no longer needed)

Deploy (deploy.yml) — simplified:

  • Stripped down to essential steps; removed the verbose k8s instruction comments

Other:

  • ci.yml: added golangci-lint, simplified test step, fixed codeql-action/upload-sarif v4→v3
  • cd.yml: build-push-action v5→v6, Trivy output as SARIF, removed COSIGN_EXPERIMENTAL
  • deploy.yml: simplified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant