-
Notifications
You must be signed in to change notification settings - Fork 0
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
structslop linter failing on Go 1.20 with internal error: package "errors" without types was imported from ...
#962
Comments
How to reproduce:
Output: root@6c4091e45d1e:/go/check-whois# structslop ./...
structslop: internal error: package "errors" without types was imported from "github.com/atc0005/check-whois/internal/domain" |
atc0005
added a commit
to atc0005/shared-project-resources
that referenced
this issue
Mar 22, 2023
Disabling until Go 1.20 compatibility issue can be resolved. refs atc0005/go-ci#962
Opened upstream bug report. For now, I've disabled use of the linter from the shared GH workflow. |
See also: Might be worth exploring if the upstream bug report doesn't get any traction (i.e., the project may not be maintained any longer). |
This was resolved per #994 |
atc0005
added a commit
to atc0005/shared-project-resources
that referenced
this issue
May 12, 2023
Enable now that Go 1.20 compatibility issue has been resolved. refs atc0005/go-ci#962
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview
The linter has been provided by images from this project since 2020-11-29, but I hadn't used it regularly until added to a shared set of importable workflows.
For the Go 1.19 based
go-ci-oldstable
image it works fine, but for Go 1.20 images it gives errors like this one:It was called like this from the GitHub Actions workflow from the root of a cloned repo:
structslop ./...
References
The text was updated successfully, but these errors were encountered: