-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Action output not helpful #965
Comments
I'm having the same problem, there's no output. Enabling annotation makes 0 difference. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Since v3.6.0 of the action, you can now provide extra args to add extra output format. Example: - name: Golangci Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56.2
args: --out-format=colored-line-number https://golangci-lint.run/usage/configuration/#output-configuration Related to #769 |
@ldez thank you. It would still be nice to see the linter messages during the run phase right in the log without needing to expand the "run golangci-lint" section. |
The problem will be fixed with golangci-lint v1.58: the file information (path, position) will be displayed. |
I added a new option I added this option for several reasons:
If you set https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#annotations |
Welcome
Description of the problem
Lint action output is not helpful in that
Version of golangci-lint
Not sure
Version of the GitHub Action
golangci/golangci-lint-action@v3
Workflow file
https://github.com/evcc-io/evcc/blob/0631f600926faa0fc3566c3ac9ff2c6c8fa8c8ed/.github/workflows/default.yml#L98-L102
https://github.com/evcc-io/evcc/blob/0631f600926faa0fc3566c3ac9ff2c6c8fa8c8ed/.golangci.yml
Go version
1.22.0
Code example or link to a public repository
https://github.com/evcc-io/evcc/actions/runs/7830801405/job/21365710661?pr=11007
The text was updated successfully, but these errors were encountered: