mirror of
https://github.com/fosrl/newt.git
synced 2026-07-16 11:53:33 -05:00
[PR #362] [MERGED] Use Go version specified in go.mod for CI tests #8952
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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.