This pull request updates the GitHub Actions workflow configuration to improve how the Go version is set up in CI jobs. Instead of specifying the Go version directly, it now uses the go.mod file to determine the correct version, ensuring consistency with the project's dependencies.
Workflow improvements:
Updated the Set up Go step in .github/workflows/test.yml to use go-version-file: go.mod instead of hardcoding the Go version, both for running tests and building targets. [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/newt/pull/362
**Author:** [@marcschaeferger](https://github.com/marcschaeferger)
**Created:** 5/21/2026
**Status:** ✅ Merged
**Merged:** 5/21/2026
**Merged by:** [@oschwartz10612](https://github.com/oschwartz10612)
**Base:** `main` ← **Head:** `ci/use-go-version-file`
---
### 📝 Commits (1)
- [`88d946c`](https://github.com/fosrl/newt/commit/88d946c9b443d0d97524d9c9a2ad8ccdcbe6a8c3) ci(test): use Go version from go.mod
### 📊 Changes
**1 file changed** (+2 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/workflows/test.yml` (+2 -2)
</details>
### 📄 Description
## Description was generated by AI
This pull request updates the GitHub Actions workflow configuration to improve how the Go version is set up in CI jobs. Instead of specifying the Go version directly, it now uses the `go.mod` file to determine the correct version, ensuring consistency with the project's dependencies.
Workflow improvements:
* Updated the `Set up Go` step in `.github/workflows/test.yml` to use `go-version-file: go.mod` instead of hardcoding the Go version, both for running tests and building targets. [[1]](diffhunk://#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88L22-R22) [[2]](diffhunk://#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88L50-R50)
## How to test?
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/newt/pull/362
Author: @marcschaeferger
Created: 5/21/2026
Status: ✅ Merged
Merged: 5/21/2026
Merged by: @oschwartz10612
Base:
main← Head:ci/use-go-version-file📝 Commits (1)
88d946cci(test): use Go version from go.mod📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
.github/workflows/test.yml(+2 -2)📄 Description
Description was generated by AI
This pull request updates the GitHub Actions workflow configuration to improve how the Go version is set up in CI jobs. Instead of specifying the Go version directly, it now uses the
go.modfile to determine the correct version, ensuring consistency with the project's dependencies.Workflow improvements:
Set up Gostep in.github/workflows/test.ymlto usego-version-file: go.modinstead of hardcoding the Go version, both for running tests and building targets. [1] [2]How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.