Skip to content

TPT-2509: Use official golangci-lint GitHub Action - #247

Merged
zliang-akamai merged 2 commits into
linode:mainfrom
zliang-akamai:TPT-2509-use-golangci-lint-action
Sep 23, 2026
Merged

zliang-akamai merged 2 commits into
linode:mainfrom
zliang-akamai:TPT-2509-use-golangci-lint-action

Conversation

@zliang-akamai

Copy link
Copy Markdown
Member

📝 Description

Switch PR CI linting from make check (Docker golangci/golangci-lint) to the official golangci/golangci-lint-action. Keep local make check on the host golangci-lint CLI.

✔️ How to Test

make check

Confirm the Pull Request workflow golangci-lint job succeeds on this PR.

@zliang-akamai zliang-akamai added the repo-ci-improvement for improvements in the repository or CI workflow in the changelog. label Aug 29, 2026
@zliang-akamai
zliang-akamai requested review from a team as code owners August 29, 2026 03:46
@zliang-akamai
zliang-akamai requested review from lgarber-akamai and mawilk90 and a lite review from Copilot and removed request for a team August 29, 2026 03:46

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

This PR updates the project’s linting workflow by moving PR CI linting from make check (which previously ran golangci-lint via Docker) to the official golangci/golangci-lint-action, while keeping local linting as a host CLI invocation.

Changes:

  • Switch make check from golangci-lint in a Docker container to running the host golangci-lint binary.
  • Replace the PR workflow’s make check step with golangci/golangci-lint-action.

Reviewed changes

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

File Description
Makefile Updates check to run golangci-lint directly on the host instead of via Docker.
.github/workflows/pull_request.yml Replaces make check CI step with the official golangci-lint GitHub Action.

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

Comment thread .github/workflows/pull_request.yml
Comment thread .github/workflows/pull_request.yml

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.

🟢 Approval recommended

The changes are narrowly scoped to lint execution wiring (Makefile + CI) and are consistent with the stated intent, with no additional issues found in the modified hunks.

Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@zliang-akamai
zliang-akamai merged commit 85b7ca2 into linode:main Sep 23, 2026
4 checks passed
@zliang-akamai
zliang-akamai deleted the TPT-2509-use-golangci-lint-action branch September 23, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

repo-ci-improvement for improvements in the repository or CI workflow in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants