Skip to content

ci: adopt vgi-go golangci-lint config#1

Merged
rustyconover merged 1 commit into
mainfrom
ci/golangci-lint
Jun 23, 2026
Merged

ci: adopt vgi-go golangci-lint config#1
rustyconover merged 1 commit into
mainfrom
ci/golangci-lint

Conversation

@rustyconover

Copy link
Copy Markdown
Contributor

Adopt vgi-go's golangci-lint v2 config as a full CI gate. Adds .golangci.yml, a make lint target, and a golangci-lint step in the build-test job.

🤖 Generated with Claude Code

Copy vgi-go's .golangci.yml (golangci-lint v2: errcheck, govet,
ineffassign, staticcheck, unused + scoped doc linters), wire `make lint`
to `golangci-lint run`, and add a full-gate golangci-lint step to the
build-test CI job.

Fix the one finding: errcheck on the deferred resp.Body.Close() in the
NVD client — make it an explicit best-effort `_ =` close (read errors are
surfaced separately right below).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rustyconover rustyconover merged commit 1fb4a53 into main Jun 23, 2026
3 checks passed
@rustyconover rustyconover deleted the ci/golangci-lint branch June 23, 2026 23:39
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