The RC version in the go.mod file cannot be retrieved
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 673
- Avg merge
- 6d 28m
- Merged PRs (30d)
- 4
Description
Description:
RC is not included in the scope of the regular expression
https://github.com/actions/setup-go/blob/3041bf56c941b39c61721a86cd11f3bb1338122a/src/installer.ts#L467
Action version:
Specify the action version
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
Go 1.24rc1
Repro steps:
// go.mod
go 1.24rc1
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
cache: false
Expected behavior:
Setup go version spec 1.24rc1
Attempting to download 1.24rc1...
matching 1.24rc1...
Actual behavior:
Setup go version spec 1.24
Attempting to download 1.24...
matching 1.24...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the regular expression in src/installer.ts around line 467 and compare it with the go.mod example containing Go 1.24rc1. Verify that the version spec preserves the RC suffix and that setup-go attempts to download and match 1.24rc1 rather than 1.24.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, go, typescript
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100