Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jun 24, 2025

This PR updates the Go version specified in GitHub workflow files from 1.21 to 1.19 to ensure consistency with the Go version requirement in go.mod.

Changes Made

  • Updated .github/workflows/codecov.yml: Changed go-version: 1.21 to go-version: 1.19
  • Updated .github/workflows/gosec.yml: Changed go-version: 1.21 to go-version: 1.19

Rationale

The go.mod file already specifies Go 1.19 as the minimum required version:

module github.com/broothie/qst

go 1.19

However, the GitHub workflows were using Go 1.21, creating an inconsistency. This change ensures that:

  1. All workflow files use the same Go version (1.19)
  2. The CI/CD pipeline uses the same Go version as specified in the project requirements
  3. There's consistency across the entire project's Go version specification

Testing

  • ✅ Project builds successfully with Go 1.19
  • ✅ All tests pass with Go 1.19
  • ✅ No other references to Go 1.21 remain in the codebase

The changes are minimal and surgical, affecting only the version specification in the GitHub Actions setup steps.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: broothie <7990713+broothie@users.noreply.github.com>
Copilot AI changed the title [WIP] Set Go version to 1.19 in all workflow files Update Go version in GitHub workflows from 1.21 to 1.19 Jun 24, 2025
Copilot AI requested a review from broothie June 24, 2025 17:43
@broothie broothie marked this pull request as ready for review June 24, 2025 18:02
@broothie broothie merged commit 834b61c into main Jun 24, 2025
3 checks passed
@broothie broothie deleted the copilot/fix-0360380a-cf32-4e0f-b6c0-ad324c4f69d3 branch June 24, 2025 18:02
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.

2 participants