ci: add unified quality gates workflow#717
Open
osvaldoandrade wants to merge 1 commit into
Open
Conversation
Adds a single CI workflow with build, test, lint, coverage, vulncheck and gosec jobs. Build is the only required job; remaining jobs run warn-only until coverage and lint debt is paid down per epics #654 and #645. - build: go vet + go build (required) - test: race detector + shuffled tests, uploads coverage profile - lint: golangci-lint v1.61.0 with repository .golangci.yml - coverage: go-test-coverage enforces .testcoverage.yml thresholds - vulncheck: govulncheck against module graph - gosec: gosec v2.21.4 at medium severity/confidence Refs #645, #661.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a unified CI workflow that consolidates build, test, lint, coverage, vulnerability and security scanning into a single pipeline. Only
buildis required; the rest run warn-only until the coverage and lint debt tracked in epics #645 and #654 is paid down.Jobs
buildgo vet ./...+go build ./...test-race -shuffle=on -count=1, uploadscoverage.outartifactlintgolangci-lintv1.61.0 with repository.golangci.ymlcoveragego-test-coverageenforces.testcoverage.ymlthresholdsvulncheckgovulncheck ./...gosecgosecv2.21.4 at medium severity/confidenceNotes
contents: read.go-version-file: go.mod; module cache enabled.testtocoveragejob to avoid retests.Refs
Closes #661. Part of #645.