GolangCI Lint support on Cirrus CI
It’s always hard to hear that fellow DevTools startups have difficulties and had to close partially or fully. Last week GolangCI announced that they are going to shutdown their SaaS offering of GolangCI Lint (golangci.com).
Congrats Denis Isaev and everyone involved on the run! 🙌
Cirrus CI already supported GitHub Annotations for providing rich reports right in GitHub UI and we just added support for GolangCI Lint report format for easier migration.
Here is an example of a Cirrus CI task that uses the official
golangci-lint Docker image to generate a JSON report and store it as a Cirrus CI Artifact. Secret sauce now is that you can set
goalngci as a
formatfor the artifacts and Cirrus CI Annotator will be able to parse the report.
name: GolangCI Lint
- golangci-lint run -v --out-format json > lint-report.json