Skip to content

Fix lint CI: update Go version to 1.26.x and add missing setup-go step - #2

Closed
stackus with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-lint-ubuntu-job-failure
Closed

stackus with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-lint-ubuntu-job-failure

Conversation

Copilot AI commented Sep 24, 2026 •

Copy link
Copy Markdown

The lint (1.24.x, ubuntu-latest) CI job was failing because go.mod targeted go 1.26.8 (driven by golang.org/x/net@v0.59.0 requiring go >= 1.26.0) while golangci-lint v1.64.8—built with go1.24—refuses to lint modules targeting a newer Go version.

Changes

  • .github/workflows/ci.yml

    • Bumped go-version from 1.24.x → 1.26.x in both golangci and test matrix jobs
    • Added missing setup-go step to the golangci job (lint was running without an explicit Go installation)
  • go.mod

    • Lowered go directive from 1.26.8 → 1.26.0 (minimum actually required by transitive deps)

…lint job

Co-authored-by: stackus <158579+stackus@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job lint (1.24.x, ubuntu-latest) Fix lint CI: update Go version to 1.26.x and add missing setup-go step Sep 24, 2026
Copilot AI requested a review from stackus September 24, 2026 03:36
@stackus stackus closed this Sep 24, 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