Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #231

Closed
wants to merge 1 commit into from
Closed

Update dependencies #231

wants to merge 1 commit into from

Conversation

zcalusic
Copy link

This fixes errors like this: internal error: package "bytes" without types was imported from "command-line-arguments"

This fixes errors like this: internal error: package "bytes" without
types was imported from "command-line-arguments"
@kisielk
Copy link
Owner

kisielk commented Mar 25, 2023

Looks like this doesn't pass the test suite..

@zcalusic
Copy link
Author

It seems that newer version of golang.org/x/tools, which is absolutely required on the currently supported Golang versions 1.19 & 1.20, is not working on older Golang versions.

And your test suite is not testing supported Golang versions at all, just older ones?

Based on the fact that compile on Go 1.18.x went fine, you might consider to not support anything older than 1.18.x anymore?

abhinav added a commit to abhinav/errcheck that referenced this pull request May 31, 2023
Upgrades to the latest release of /x/tools and friends.
This is necessary to fix errors during `go test` similar to:

    This fixes errors like this: internal error: package "bytes" without types was imported from "command-line-arguments"

Supersedes kisielk#231
kisielk pushed a commit that referenced this pull request Nov 2, 2023
* mod: Use latest /x/tools, use Go 1.18

Upgrades to the latest release of /x/tools and friends.
This is necessary to fix errors during `go test` similar to:

    This fixes errors like this: internal error: package "bytes" without types was imported from "command-line-arguments"

Supersedes #231

* ci: Test against Go 1.18-1.20

Switch CI to only test against Go 1.18 to 1.20.
Per the Go support policy, only 1.19 and 1.20 are currently supported,
but I've left 1.18 in there to support stragglers.

To reduce duplication in the CI job, this also switches to a test matrix
instead of copy-pasting the steps between each job.
@kisielk kisielk closed this Nov 2, 2023
@kisielk
Copy link
Owner

kisielk commented Nov 2, 2023

This was replaced by #234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants