Skip to content

chore: bump golangci-lint to v2.11.4 and fix new linter findings#88

Merged
strider2038 merged 1 commit intomainfrom
chore/update-golangci-lint
Apr 4, 2026
Merged

chore: bump golangci-lint to v2.11.4 and fix new linter findings#88
strider2038 merged 1 commit intomainfrom
chore/update-golangci-lint

Conversation

@strider2038
Copy link
Copy Markdown
Contributor

  • CI: pin golangci-lint-action binary to v2.11.4
  • validate: guard digit range before int-to-byte (gosec G115)
  • example: use httptest.NewRequestWithContext (noctx)
  • it: use fmt.Fprintf in choice string builder (staticcheck QF1012)
  • AGENTS.md: document pinned linter version

- CI: pin golangci-lint-action binary to v2.11.4
- validate: guard digit range before int-to-byte (gosec G115)
- example: use httptest.NewRequestWithContext (noctx)
- it: use fmt.Fprintf in choice string builder (staticcheck QF1012)
- AGENTS.md: document pinned linter version

Co-authored-by: Igor Lazarev <strider2038@yandex.ru>
@strider2038 strider2038 merged commit dc1e6f0 into main Apr 4, 2026
2 checks passed
@strider2038 strider2038 deleted the chore/update-golangci-lint branch April 6, 2026 17:55
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.

2 participants