{"repo":"golangci/golangci-lint-action","free":true,"listed":false,"github":"https://github.com/golangci/golangci-lint-action","clone":"git clone https://github.com/golangci/golangci-lint-action.git","description":"Official GitHub Action for golangci-lint from its authors","language":"TypeScript","stars":1444,"topics":["golangci-lint","go","golang","action","github"],"license":"MIT","category":"dev-tools","readme_excerpt":"golangci-lint-action It's the official GitHub Action for golangci-lint from its authors. The action runs golangci-lint and reports issues from linters. Supporting Us golangci-lint is a free and open-source project built by volunteers. If you value it, consider supporting us; we appreciate it! :heart: How to use We recommend running this action in a job separate from other jobs ( go test , etc.) because different jobs run in parallel. Add a .github/workflows/golangci-lint.yml file with the following contents: Simple Example Multiple OS Example You will also likely need to add the following .gitattributes file to ensure that line endings for Windows builds are properly formatted: Go Workspace Example Go Workspace Example (Multiple OS) You will also likely need to add the following .gitattributes file to ensure that line endings for Windows builds are properly formatted: Compatibility v9.0.0 requires Nodejs runtime node24 v8.0.0 works with golangci-lint version = v2.1.0 v7.0.0 supports golangci-lint v2 only. v6.0.0+ removes annotations option, removes the default output format ( github-actions ). v5.0.0+ removes skip-pkg-cache and skip-build-cache because the cache related to Go itself is already handled by actions/setup-go . v4.0.0+ requires an explicit actions/setup-go installation step before using this action: uses: actions/setup-go@v5 . The skip-go-installation option has been removed. v2.0.0+ works with golangci-lint version = v1.28.3 v1.2.2 is deprecated because we forgot","default_branch":null,"files":null,"tree":[],"storefront":"/r/golangci","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/golangci/golangci-lint-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}