[PR #69] Update Go version to 1.26 and adjust workflows and Dockerfile #251

Open
opened 2026-04-27 18:11:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/gerbil/pull/69
Author: @marcschaeferger
Created: 4/4/2026
Status: 🔄 Open

Base: mainHead: go-update


📝 Commits (1)

  • 9e5539a Update Go version to 1.26 and adjust workflows and Dockerfile accordingly

📊 Changes

4 files changed (+13 additions, -6 deletions)

View changed files

📝 .github/workflows/test.yml (+5 -1)
📝 .go-version (+1 -1)
📝 Dockerfile (+3 -2)
📝 Makefile (+4 -2)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

This pull request updates the project's Go version to 1.26 and improves version management by centralizing the Go version in the .go-version file. The workflows, Dockerfile, and Makefile are all updated to consistently use this version, reducing the risk of mismatched Go versions across development, CI, and production builds.

Go version update and centralization:

  • Updated the Go version from 1.25 to 1.26 in the .go-version file, making 1.26 the new project standard.
  • Modified the GitHub Actions workflow (.github/workflows/test.yml) to read the Go version from .go-version and set up the workflow environment accordingly, ensuring CI always uses the correct version.
  • Updated the Dockerfile to accept a GO_VERSION build argument and default to the version from .go-version, ensuring Docker builds use the intended Go version.

Build process improvements:

  • Added logic to the Makefile to read the Go version from .go-version, and updated the docker-build-release and build targets to pass the correct version to Docker builds. [1] [2]

How to test?


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/gerbil/pull/69 **Author:** [@marcschaeferger](https://github.com/marcschaeferger) **Created:** 4/4/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `go-update` --- ### 📝 Commits (1) - [`9e5539a`](https://github.com/fosrl/gerbil/commit/9e5539a5bac9d0a18981a3e231667e1426de6b3f) Update Go version to 1.26 and adjust workflows and Dockerfile accordingly ### 📊 Changes **4 files changed** (+13 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test.yml` (+5 -1) 📝 `.go-version` (+1 -1) 📝 `Dockerfile` (+3 -2) 📝 `Makefile` (+4 -2) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description This pull request updates the project's Go version to 1.26 and improves version management by centralizing the Go version in the `.go-version` file. The workflows, Dockerfile, and Makefile are all updated to consistently use this version, reducing the risk of mismatched Go versions across development, CI, and production builds. **Go version update and centralization:** * Updated the Go version from 1.25 to 1.26 in the `.go-version` file, making 1.26 the new project standard. * Modified the GitHub Actions workflow (`.github/workflows/test.yml`) to read the Go version from `.go-version` and set up the workflow environment accordingly, ensuring CI always uses the correct version. * Updated the `Dockerfile` to accept a `GO_VERSION` build argument and default to the version from `.go-version`, ensuring Docker builds use the intended Go version. **Build process improvements:** * Added logic to the `Makefile` to read the Go version from `.go-version`, and updated the `docker-build-release` and `build` targets to pass the correct version to Docker builds. [[1]](diffhunk://#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52R2-R3) [[2]](diffhunk://#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52L10-R15) ## How to test? --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-27 18:11:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gerbil#251