maragudk / maragudk/workflows

Should `test.yml` and `lint.yml` use the latest stable Go instead of the go.mod version?

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
0
Forks
0
Avg merge
45m
Merged PRs (30d)
6

Description

Today `test.yml` and `lint.yml` use `go-version-file: go.mod` with `check-latest: true`, so CI proves the module at its declared minimum Go version (latest patch). The alternative is `go-version: stable`, which catches breakage on the newest release first.

Considerations:
- `compatibility.yml` already runs `stable` × `go.mod` nightly, so both versions are covered either way; the question is which one gates merges.
- For libraries (gomponents, gai), the declared minimum is a promise to users, so failing CI when it breaks is valuable.
- For apps, the deployed toolchain is whatever the Dockerfile uses, so `stable` in CI may be the more honest signal.
- A single answer for all callers keeps the workflows input-free; a per-repo choice would need an input.

Raised in review of #3.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading test.yml and lint.yml to compare their go-version-file and check-latest settings, then inspect compatibility.yml and go.mod to understand the existing version coverage. Check the Dockerfile context for deployed toolchains. Done requires a decided policy for merge-gating versions and an agreed workflow change, including whether all callers share it or need a per-repository choice.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
ci-cd
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.