golangci-lint run
fails on Windows when a formatter is enabled
#5840
Replies: 1 comment
-
Not a bug. The behavior is very old and cannot be "fixed". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Got the following error when running
golangci-lint
onwindows-latest
in GitHub Actions:On
ubuntu-latest
, everything works fine.Example: https://github.com/alexandear-org/golangci-lint-eol-windows
Setup
.golangci.yaml
:Workflow:
main.go
:go.mod
:However, when I added the following step before the
checkout
step in the workflow, the issue disappeared:Found this issue while integrating
golangci-lint
in lima-vm/lima#3586.Not sure if this is a bug, so I’ve created a discussion instead of an issue.
Beta Was this translation helpful? Give feedback.
All reactions