[Bug] build and lint workflows fail once go.mod requires go 1.26
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- github-actions, go
- Domain
- build-system, ci-cd
Research direction
Start by reading the Build Test and Lint Test workflow files and the Go version declared in go.mod. Compare the workflow toolchain versions with the reported failures: the build uses Go 1.17.13, and golangci-lint v1.64.8 was built with Go 1.24. Done means both workflows use versions compatible with Go 1.26.0 and pass on a pull request.
Written by the indexing model from the issue text.
Description
Describe the bug
The Build Test and Lint Test workflows fail once go.mod declares go 1.26.0. I expected CI to build and lint with the Go version that go.mod requires.
To Reproduce
- Open a pull request that raises the
goline in go.mod togo 1.26.0, such as #16. - Wait for the Build Test and Lint Test checks to finish.
Build Test fails in the Test step:
go version go1.17.13 linux/amd64
go: errors parsing go.mod:
/home/runner/work/collaborator/collaborator/go.mod:3: invalid go version '1.26.0': must match format 1.23
Lint Test fails in the Run golangci-lint step:
Requested golangci-lint 'latest', using 'v1.64.8', calculation took 803ms
Error: can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.26.0)
Screenshots
N/A
- Dominant language
- Go
- Stars
- 25
- Forks
- 9
- Avg merge
- 8h 25m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from projectdiscovery/collaborator
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
[Bug] govulncheck reports vulnerable golang.org/x/net and golang.org/x/text in called codePossibly taken @dwisiswant0 claimed this 25 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
All issues in projectdiscovery/collaborator
Similar issues
-
ec2-subnet, security-group and internet-gateway skip all resources when one is deleted during the scanPossibly taken @toabctl claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
gruntwork-io/cloud-nuke#1208 ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
snowflakedb/gosnowflake#1872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Linux 主机 macOS 主机
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Lee-xeo/Claude-Cage#1455 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days