Skip to content

chore(deps): bump golangci/golangci-lint-action from 7 to 9, update Go to 1.25 and golangci-lint to v2.8.0 - #81

Merged
zostay merged 2 commits into
dependabot/github_actions/golangci/golangci-lint-action-9from
copilot/sub-pr-78
Feb 15, 2026
Merged

chore(deps): bump golangci/golangci-lint-action from 7 to 9, update Go to 1.25 and golangci-lint to v2.8.0#81
zostay merged 2 commits into
dependabot/github_actions/golangci/golangci-lint-action-9from
copilot/sub-pr-78

Conversation

Copilot AI commented Feb 15, 2026

Copy link
Copy Markdown
Contributor

Updates GitHub Actions workflows to use golangci-lint-action v9 and modernizes toolchain versions.

Changes

  • Bump golangci/golangci-lint-action from v7 to v9
  • Update Go version from 1.22 to 1.25 across all workflows (test, prepare, release)
  • Update golangci-lint version from v2.0 to v2.8.0 in test workflow

All three workflow files (.github/workflows/{test,prepare,release}.yaml) now consistently use Go 1.25.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: zostay <34711+zostay@users.noreply.github.com>
Copilot AI changed the title [WIP] Update golangci/golangci-lint-action to version 9 chore(deps): bump golangci/golangci-lint-action from 7 to 9, update Go to 1.25 and golangci-lint to v2.8.0 Feb 15, 2026
Copilot AI requested a review from zostay February 15, 2026 06:45
@zostay
zostay marked this pull request as ready for review February 15, 2026 06:47
Copilot AI review requested due to automatic review settings February 15, 2026 06:47
@zostay
zostay merged commit 0c6eee5 into dependabot/github_actions/golangci/golangci-lint-action-9 Feb 15, 2026
3 checks passed

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

Updates CI/release GitHub Actions workflows to use newer Go and golangci-lint tooling, keeping the workflows consistent across the repo.

Changes:

  • Bump golangci/golangci-lint-action to v9 in the test workflow.
  • Update actions/setup-go Go version from 1.22 to 1.25 across test/prepare/release workflows.
  • Pin golangci-lint from v2.0 to v2.8.0 in the test workflow.

Reviewed changes

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

File Description
.github/workflows/test.yaml Updates Go version, bumps golangci-lint action to v9, and pins golangci-lint to v2.8.0 during CI.
.github/workflows/prepare.yaml Updates Go version used for prepare builds to 1.25.
.github/workflows/release.yaml Updates Go version used for release builds to 1.25.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.25

Copilot AI Feb 15, 2026

Copy link

Choose a reason for hiding this comment

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

This workflow is pinned to Go 1.25 while go.mod declares go 1.24.5. If you want CI to follow the module’s declared toolchain automatically, consider switching to go-version-file: go.mod here as well.

Suggested change
go-version: 1.25
go-version-file: go.mod

Copilot uses AI. Check for mistakes.
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.25

Copilot AI Feb 15, 2026

Copy link

Choose a reason for hiding this comment

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

This workflow is pinned to Go 1.25 while go.mod declares go 1.24.5. Consider using go-version-file: go.mod to keep workflow Go versions in sync with the module without manual updates.

Suggested change
go-version: 1.25
go-version-file: go.mod

Copilot uses AI. Check for mistakes.
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.25

Copilot AI Feb 15, 2026

Copy link

Choose a reason for hiding this comment

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

The workflows are now pinned to Go 1.25, but go.mod currently declares go 1.24.5. To reduce ongoing maintenance and avoid version drift, consider using go-version-file: go.mod (or updating go.mod if 1.25 is the new baseline).

Suggested change
go-version: 1.25
go-version-file: go.mod

Copilot uses AI. Check for mistakes.
- uses: actions/setup-go@v5
with:
go-version: 1.22
go-version: 1.25

Copilot AI Feb 15, 2026

Copy link

Choose a reason for hiding this comment

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

Consider using a string (e.g. quoting the value) and/or 1.25.x for go-version so the workflow reliably resolves the latest Go 1.25 patch release and avoids any YAML numeric parsing edge cases.

Suggested change
go-version: 1.25
go-version: "1.25.x"

Copilot uses AI. Check for mistakes.
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.

3 participants