Skip to content

unable to install errcheck via the new go 1.24 tool tracker #268

@aep-sunlife

Description

@aep-sunlife

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

This happens in GitHub Actions. Works fine in macOS.

$ go get -tool github.com/kisielk/errcheck
$ go mod download
$ go mod vendor
$ go mod tidy
$ go install tool
Error: vendor/github.com/kisielk/errcheck/errcheck/errcheck.go:16:2: cannot find module providing package golang.org/x/tools/go/packages: import lookup disabled by -mod=vendor
	(Go version in go.mod is at least 1.14 and vendor directory exists.)

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 errcheck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions