Skip to content

CI: add security worflow to check for vulnerabilities - #42

Merged
VoidClancy merged 5 commits into
masterfrom
CI
Jul 14, 2026
Merged

CI: add security worflow to check for vulnerabilities#42
VoidClancy merged 5 commits into
masterfrom
CI

Conversation

@VoidClancy

@VoidClancy VoidClancy commented Jul 14, 2026

Copy link
Copy Markdown
Owner

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

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
@VoidClancy VoidClancy self-assigned this Jul 14, 2026
…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
@VoidClancy
VoidClancy merged commit d40e1cf into master Jul 14, 2026
5 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