Skip to content

Keep Go 1.26.5 and make lint workflows toolchain-consistent#20

Closed
Kanti with Copilot wants to merge 5 commits into
masterfrom
copilot/update-go-version-to-1224
Closed

Keep Go 1.26.5 and make lint workflows toolchain-consistent#20
Kanti with Copilot wants to merge 5 commits into
masterfrom
copilot/update-go-version-to-1224

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

This PR keeps the repository on the newest Go version and resolves pipeline breakage caused by lint jobs running a golangci-lint binary built with an older Go toolchain. It also removes reliance on a flaky remote config fetch path in the legacy lint action.

  • Go version baseline

    • go.mod stays on go 1.26.5.
    • release-assets workflow stays aligned with actions/setup-go@v5 using go-version: '1.26.5'.
  • Lint pipeline hardening (docker workflows)

    • Replaced golangci/golangci-lint-action@v2 usage in:
      • ci-docker.yaml
      • release-docker.yaml
      • scheduled-docker.yaml
    • New lint path:
      1. set up Go 1.26.5
      2. install lint binary via go install
      3. run golangci-lint directly
  • Why this fixes the issue

    • Ensures lint binary/toolchain matches the repository Go target (1.26.5), avoiding version mismatch failures in CI.
- uses: actions/setup-go@v5
  with:
    go-version: '1.26.5'
    check-latest: true

- name: Install golangci-lint
  run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

- name: Run golangci-lint
  run: golangci-lint run --print-resources-usage

Copilot AI changed the title Build and publish go-replace release artifacts with Go 1.22.4 Build and release go-replace with Go 1.22.4; fix CI lint breakage on Go 1.22+ Jul 15, 2026
Copilot finished work on behalf of Kanti July 15, 2026 08:17
Copilot AI requested a review from Kanti July 15, 2026 08:17
@Kanti Kanti marked this pull request as ready for review July 15, 2026 08:19
Copilot AI changed the title Build and release go-replace with Go 1.22.4; fix CI lint breakage on Go 1.22+ chore: bump Go 1.22.4 → 1.26.5 Jul 15, 2026
Copilot finished work on behalf of Kanti July 15, 2026 08:23
@Kanti Kanti changed the title chore: bump Go 1.22.4 → 1.26.5 chore: bump Go 1.19 → 1.26.5 Jul 15, 2026
Copilot AI changed the title chore: bump Go 1.19 → 1.26.5 Align Go toolchain with CI lint compatibility Jul 15, 2026
Copilot finished work on behalf of Kanti July 15, 2026 08:27
Copilot AI changed the title Align Go toolchain with CI lint compatibility Keep Go 1.26.5 and make lint workflows toolchain-consistent Jul 15, 2026
Copilot finished work on behalf of Kanti July 15, 2026 08:33
@Kanti Kanti closed this Jul 15, 2026
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