Skip to content

ci: adopt the enterprise CI standard - #36

Merged
kolkov merged 1 commit into
mainfrom
ci/enterprise-standard
Nov 11, 2026
Merged

kolkov merged 1 commit into
mainfrom
ci/enterprise-standard

Conversation

@kolkov

@kolkov kolkov commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Adopts the machine CI standard (new-repo-go references/versions.md §2–3):

  • Every action is pinned by commit SHA with its exact version comment, including the benchmark workflow.
  • GOTOOLCHAIN: local in every workflow, so a job runs the Go it asked for.
  • New test-minimum job tests the go 1.27 line exactly; build-386 builds and tests 32-bit; lint-targets lints windows/amd64 and darwin/arm64.
  • golangci-lint comes from the local cached action (sha256-checked on every run), with the version pinned to 2.15.0 instead of latest.
  • Coverage uploads through Codecov OIDC; the CODECOV_TOKEN secret is no longer used.
  • Vulnerability Check becomes informational (job-level continue-on-error, outside the gate); release checks still block on govulncheck.
  • One Required checks gate aggregates every required job with if: always() and an explicit result check.

Migration order: job names are unchanged, so the current protected contexts keep reporting while this PR is reviewed. After it is merged and Required checks is green on main, the ruleset will be switched to require only that context, then the old per-job contexts are dropped in a separate settings change.

Pin every action by commit SHA with its version comment, set GOTOOLCHAIN=local,
add test-minimum, 386 and cross-GOOS lint jobs, use the cached sha256-verified
golangci-lint, upload coverage via Codecov OIDC, make vulncheck informational,
and add the single Required checks gate. Job names are unchanged so the current
protected contexts keep reporting until the ruleset is switched.
@codecov

codecov Bot commented Nov 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kolkov
kolkov merged commit a3792c2 into main Nov 11, 2026
17 checks passed
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