Skip to content

Update CI workflow configuration to use go-version-file#1

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/update-workflow-for-ci
Closed

Update CI workflow configuration to use go-version-file#1
Copilot wants to merge 2 commits into
mainfrom
copilot/update-workflow-for-ci

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 18, 2026

Updates all GitHub Actions CI workflows to use go-version-file: 'go.mod' instead of hardcoded Go version numbers, ensuring consistency with the project's Go version requirements.

Changes Made

  • lint.yaml: Changed from go-version: "1.25" to go-version-file: 'go.mod'
  • test.yaml: Changed from go-version: "1.25" to go-version-file: 'go.mod'
  • release.yaml: Changed from go-version: 1.25 to go-version-file: 'go.mod' and upgraded actions/setup-go from v4 to v5 for consistency

Benefits

  • CI workflows automatically use the Go version specified in go.mod (currently 1.25.5)
  • No manual updates needed when Go version changes in go.mod
  • Consistent action versions across all workflows
  • Reduced maintenance burden

Testing

  • ✅ YAML formatting verified with yamlfmt
  • ✅ Code review completed with no issues
  • ✅ Security scan completed with no vulnerabilities

The changes are minimal and focused on improving CI configuration maintainability.

Original prompt

Reference: https://github.com/rapjul/panforge/actions/runs/21119638100/job/60730391772#step:4:1


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@rapjul
Copy link
Copy Markdown
Owner

rapjul commented Jan 18, 2026

@copilot Please retry.

Co-authored-by: rapjul <46605047+rapjul@users.noreply.github.com>
Copy link
Copy Markdown
Author

Copilot AI commented Jan 18, 2026

@copilot Please retry.

Done! I've updated all CI workflow files to use go-version-file: 'go.mod' instead of hardcoded version numbers. This ensures consistency and automatically uses the Go version specified in go.mod (1.25.5). Also updated release.yaml to use actions/setup-go@v5 for consistency with other workflows. Changes committed in 0f64c5d.

Copilot AI changed the title [WIP] Update CI workflow configuration Update CI workflow configuration to use go-version-file Jan 18, 2026
@rapjul rapjul closed this Jan 19, 2026
@rapjul rapjul deleted the copilot/update-workflow-for-ci branch January 19, 2026 02:07
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