Skip to content

error installing staticcheck with the new go 1.24 tool tracker #1638

Open
@aep-sunlife

Description

@aep-sunlife

When I try to install staticcheck via the new Go 1.24 tool tracking system, then I get errors.

This happens in GitHub Actions. No problem in macOS.

$ go get -tool honnef.co/go/tools/cmd/staticcheck
$ go mod download
$ go mod vendor
$ go mod tidy
$ go install tool
Error: vendor/honnef.co/go/tools/lintcmd/lint.go:26:2: cannot find module providing package golang.org/x/tools/go/packages: import lookup disabled by -mod=vendor

Can we please update this project to use Go 1.24.1? Go has many new security patches lately.

As a workaround, I may have to disable staticcheck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugupstreamIssues that are caused by a dependencywaiting-for-feedbackWaiting for the user to get back to us

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions