-
-
Notifications
You must be signed in to change notification settings - Fork 171
Closed
Labels
Description
I try to configure golangci-lint-action to provide output in checkstyle format as required by SonarCloud (https://docs.sonarqube.org/latest/analysis/external-issues/). Therefore I added the following configuration to the project:
output:
format: github-actions,checkstyle:golangci-lint-report.json
It seems that the configuration is not working as the output format is passed as CLI parameter to the action.
I tried to explicitly set the output format as args
in the with
configuration part of the action but this results in the error:
Error: Failed to run: Error: please, don't change out-format for golangci-lint: it can be broken in a future, Error: please, don't change out-format for golangci-lint: it can be broken in a future
I tried to configure both output formats (github action + checkstyle) to get the github annotations and in addition the checkstyle report for Sonar.
How can I adopt the output format?
kp-guilherme-matsumoto, smirzaei, pdeschen and jrehwaldt