CI: add security worflow to check for vulnerabilities - #42
Merged
Conversation
1- Upgrade Go toolchain to 1.26.5 in go.mod to patch stdlib vuln GO-2026-5856 (privacy leak in crypto/tls) affecting migration connections 2- Update Validate and Verify workflows to run dependency tidiness checks across all modules,( make tidy to clean dependencies, and tidy-check to assert that go.mod/go.sum remain clean and committed via git diff) 3- Add lint (golangci-lint) and security (govulncheck) pipelines to automate static analysis reviews and monitor dependency vulnerability alerts
…patch GO-2026-5024 fix lint workflow version pinning
1- Fix linter violations reported by golangci-lint across cli/ and migration/ packages, including handling unchecked errors in os.WriteFile, goose.SetDialect, db.Exec, and w.Write, removing an unused parser variable, and removing an empty log config branch 2- Add .golangci.yml configuration files at the root and integration module root to ignore generated files (valk/) and integrations/main.go 3- Add static check exclusions to transaction, JSON unmarshaling, and database scan calls in integration tests to ensure clean static analysis reporting
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.
1- Upgrade Go toolchain to 1.26.5 in go.mod to patch stdlib vuln GO-2026-5856 (privacy leak in crypto/tls) affecting migration connections
2- Update Validate and Verify workflows to run dependency tidiness checks across all modules,( make tidy to clean dependencies, and tidy-check to assert that go.mod/go.sum remain clean and committed via git diff)
3- Add lint (golangci-lint) and security (govulncheck) pipelines to automate static analysis reviews and monitor dependency vulnerability alerts
4- Fix linter violations reported by golangci-lint across cli/ and migration/ packages, including handling unchecked errors in os.WriteFile, goose.SetDialect, db.Exec, and w.Write, removing an unused parser variable, and removing an empty log config branch
5- Add .golangci.yml configuration files at the root and integration module root to ignore generated files (valk/) and integrations/main.go
6- Add static check exclusions to transaction, JSON unmarshaling, and database scan calls in integration tests to ensure clean static analysis reporting