Skip to content

Replace deprecated CI golint with golangci-lint v2 - #58

Merged
bketelsen merged 2 commits into
mainfrom
copilot/fix-deprecated-golint-ci
Aug 12, 2026
Merged

bketelsen merged 2 commits into
mainfrom
copilot/fix-deprecated-golint-ci

Conversation

Copilot AI commented Aug 12, 2026 •

Copy link
Copy Markdown

Summary

CI used advisory-only golint, diverging from the repository’s golangci-lint v2 configuration and Makefile gate.

  • CI: Install pinned golangci-lint v2.3.1 and run blocking make lint.
  • Documentation: Update the CI design to reflect the unified lint gate.

Checks

  • make build — code compiles
  • make fmt — code is formatted
  • make lint — linter passes (.golangci.yml)
  • make test-unit — unit tests pass
  • Generator/scanner/signer changes: make test-integration green — not applicable

Docs housekeeping

  • New docs started from their category's TEMPLATE.md — not applicable
  • Every new doc indexed in docs/README.md — not applicable
  • Cross-links added in both directions (ADR ↔ design ↔ spec ↔ plan) — not applicable
  • New significant decision recorded as an ADR first, in this PR — not applicable
  • Conformance aliases (ADR-0012) untouched — canonical targets edited
    instead

Verification

  • node scripts/check-docs.mjs green
  • Output-format changes: docs/specs/generators.md updated alongside
    the code — not applicable

Copilot AI changed the title [WIP] Fix CI to use golangci-lint instead of deprecated golint Replace deprecated CI golint with golangci-lint v2 Aug 12, 2026
Copilot AI requested a review from bketelsen August 12, 2026 19:33
@bketelsen
bketelsen requested a lite review from Copilot August 12, 2026 19:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns CI linting with the repository’s existing make lint/.golangci.yml gate by replacing deprecated advisory golint usage with a blocking golangci-lint v2-based workflow step, and updates CI/CD design docs accordingly.

Changes:

  • Update .github/workflows/test.yml to install golangci-lint and run make lint (blocking).
  • Update docs/design/ci-cd.md to reflect the new lint gate in the CI workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/design/ci-cd.md Updates CI design documentation to describe the golangci-lint v2 lint gate via make lint.
.github/workflows/test.yml Removes deprecated golint step and replaces it with golangci-lint installation + make lint enforcement.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@bketelsen
bketelsen marked this pull request as ready for review August 12, 2026 19:38
@bketelsen
bketelsen merged commit e3f3bd0 into main Aug 12, 2026
3 checks passed
@bketelsen
bketelsen deleted the copilot/fix-deprecated-golint-ci branch August 12, 2026 19:38
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.

[repogen] CI lints with deprecated golint while the Makefile uses golangci-lint

3 participants