[Bug] build and lint workflows fail once go.mod requires go 1.26

Open Beginner friendly
#17 0 comments 0 reactions 0 assignees View on GitHub

@dwisiswant0 is already working on this.

Since Nov 8, 2026.

  • #16 by @dwisiswant0 — open

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

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

  1. Open a pull request that raises the go line in go.mod to go 1.26.0, such as #16.
  2. 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

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.

More from projectdiscovery/collaborator

All issues in projectdiscovery/collaborator

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.