[PR #362] [MERGED] Use Go version specified in go.mod for CI tests #6507

Closed
opened 2026-06-15 07:35:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: mainHead: ci/use-go-version-file


📝 Commits (1)

  • 88d946c ci(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.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>
GiteaMirror added the pull-request label 2026-06-15 07:35:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/newt#6507