Skip to content

Upgrade to Go 1.26.6 - #246

Merged
andrew merged 2 commits into
mainfrom
chore/go-1.26.5
Aug 16, 2026
Merged

Upgrade to Go 1.26.6#246
andrew merged 2 commits into
mainfrom
chore/go-1.26.5

Conversation

@andrew

@andrew andrew commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Select Go 1.26.6 through the toolchain directive in go.mod while keeping the module compatibility floor at Go 1.25.6. CI, release, and Swagger workflows read the selected version from go.mod, and Docker uses the matching Go image.

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

Raises the repository’s minimum Go version to 1.26.5 and updates developer-facing documentation plus GitHub Actions workflows to use that version, aligning local builds, CI, and the module’s declared Go toolchain baseline.

Changes:

  • Bump go.mod go directive to 1.26.5.
  • Update README build requirements to Go 1.26.5+.
  • Update CI and swagger-generation workflows to run with Go 1.26.5.

Reviewed changes

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

File Description
README.md Updates “Building from Source” requirements to Go 1.26.5+.
go.mod Raises the module’s minimum Go version to 1.26.5.
.github/workflows/swagger.yml Pins workflow Go version to 1.26.5 for swagger generation.
.github/workflows/ci.yml Updates CI matrix and lint job to run on Go 1.26.5.
Suppressed comments (1)

.github/workflows/ci.yml:45

  • This workflow hardcodes the Go version. Since the repo already uses go-version-file: go.mod in the release workflow, switching to go-version-file here reduces duplication and prevents CI from drifting from go.mod over time.
      - name: Set up Go
        uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
        with:
          go-version: '1.26.5'

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

Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/swagger.yml Outdated
@kokes

kokes commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

How about setting toolchain in go.mod and letting actions/setup-go (and other tooling) leverage that? A single place to define it would make updates straightforward (and version selection automatically enforced project-wide).

@andrew andrew changed the title Upgrade to Go 1.26.5 Upgrade to Go 1.26.6 Aug 14, 2026
@andrew

andrew commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

@kokes done

@andrew
andrew merged commit f0e6e11 into main Aug 16, 2026
10 checks passed
@andrew
andrew deleted the chore/go-1.26.5 branch August 16, 2026 17:22
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