Skip to content

Build(deps): Bump golangci/golangci-lint-action from 6 to 9#147

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/golangci/golangci-lint-action-9
Open

Build(deps): Bump golangci/golangci-lint-action from 6 to 9#147
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/golangci/golangci-lint-action-9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 28, 2026

Copy link
Copy Markdown

Bumps golangci/golangci-lint-action from 6 to 9.

Release notes

Sourced from golangci/golangci-lint-action's releases.

v9.0.0

In the scope of this release, we change Nodejs runtime from node20 to node24 (https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/).

What's Changed

Changes

Full Changelog: golangci/golangci-lint-action@v8.0.0...v9.0.0

v8.0.0

Requires golangci-lint version >= v2.1.0

What's Changed

Changes

Full Changelog: golangci/golangci-lint-action@v7...v8.0.0

v7.0.1

What's Changed

Documentation

Dependencies

New Contributors

Full Changelog: golangci/golangci-lint-action@v7.0.0...v7.0.1

v7.0.0

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 9.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](golangci/golangci-lint-action@v6...v9)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: '9'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Apr 28, 2026
@coderabbitai

coderabbitai Bot commented Apr 28, 2026

Copy link
Copy Markdown

Summary by CodeRabbit

  • Chores
    • Updated code quality tooling for continuous integration.

Walkthrough

The GitHub Actions workflow file for pull request checks was updated to use golangci/golangci-lint-action version v9 instead of v6. The configured linter version (v1.64.8) remains unchanged. This is a single-line modification with no impact on linting behavior.

Changes

Cohort / File(s) Summary
CI/CD Workflow
.github/workflows/check-pull-request.yml
Updated golangci-lint-action from v6 to v9 while maintaining the underlying linter version at v1.64.8.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and specifically describes the main change: bumping golangci/golangci-lint-action from version 6 to 9 in the GitHub Actions workflow.
Description check ✅ Passed The description is directly related to the changeset, providing release notes and commit history for the golangci/golangci-lint-action update from v6 to v9.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/golangci/golangci-lint-action-9

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot 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.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/check-pull-request.yml (1)

76-79: ⚠️ Potential issue | 🟠 Major

Upgrade golangci-lint to v2.1.0 or higher; @v9 is incompatible with v1.64.8.

The action's compatibility matrix shows v8.0.0 requires golangci-lint >= v2.1.0, and v7.0.0 supports only v2. The workflow upgrade to @v9 with pinned version: v1.64.8 will fail. Update to at least v2.1.0.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/check-pull-request.yml around lines 76 - 79, Update the
golangci-lint invocation to use a compatible CLI release: change the workflow's
golangci-lint action usage (uses: golangci/golangci-lint-action@v9) and the
pinned CLI version (version: v1.64.8) so the CLI is at least v2.1.0;
specifically set the "version" input to "v2.1.0" or newer (or select an action
tag that matches the existing CLI pin), ensuring the uses: and version: values
are consistent and supported.
🧹 Nitpick comments (1)
.github/workflows/check-pull-request.yml (1)

75-79: Recommended: set working-directory explicitly to avoid path behavior drift.

When upgrading across major action versions, it’s safer to pin working-directory explicitly instead of relying on defaults (especially since the action documents working-directory behavior and it’s commonly relevant for config discovery / module layouts). (github.com)

♻️ Proposed change
       - name: golangci-lint
         uses: golangci/golangci-lint-action@v9
         with:
           version: v1.64.8
+          working-directory: .
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/check-pull-request.yml around lines 75 - 79, The workflow
step named "golangci-lint" uses golangci/golangci-lint-action@v9 with a pinned
version but does not set working-directory; update that step (the
"golangci-lint" job configuration where uses: golangci/golangci-lint-action@v9
and version: v1.64.8) to include an explicit working-directory: ./path/to/module
(or the repo root) to ensure consistent config/module discovery across action
versions.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Outside diff comments:
In @.github/workflows/check-pull-request.yml:
- Around line 76-79: Update the golangci-lint invocation to use a compatible CLI
release: change the workflow's golangci-lint action usage (uses:
golangci/golangci-lint-action@v9) and the pinned CLI version (version: v1.64.8)
so the CLI is at least v2.1.0; specifically set the "version" input to "v2.1.0"
or newer (or select an action tag that matches the existing CLI pin), ensuring
the uses: and version: values are consistent and supported.

---

Nitpick comments:
In @.github/workflows/check-pull-request.yml:
- Around line 75-79: The workflow step named "golangci-lint" uses
golangci/golangci-lint-action@v9 with a pinned version but does not set
working-directory; update that step (the "golangci-lint" job configuration where
uses: golangci/golangci-lint-action@v9 and version: v1.64.8) to include an
explicit working-directory: ./path/to/module (or the repo root) to ensure
consistent config/module discovery across action versions.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: b12deb13-b736-4911-92c6-b7b52bf3d7f8

📥 Commits

Reviewing files that changed from the base of the PR and between e82c681 and 9a2d6e9.

📒 Files selected for processing (1)
  • .github/workflows/check-pull-request.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants