golangci-lint VS golangci-lint-action

Compare golangci-lint vs golangci-lint-action and see what are their differences.


Fast linters Runner for Go (by golangci)


Official GitHub action for golangci-lint from its authors (by golangci)
Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
golangci-lint golangci-lint-action
60 2
12,551 810
1.7% 2.8%
9.5 6.9
8 days ago 2 days ago
Go TypeScript
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of golangci-lint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-23.


Posts with mentions or reviews of golangci-lint-action. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-15.
  • Go Package CI/CD with GitHub Actions
    6 projects | dev.to | 15 May 2021
    Finally, we can use golangci-lint's provided GitHub Action for linting - it runs golangci-lint on the workflow runner's clone of the repo and outputs an error code if any Go file in the repo fails rules of any linters in golangci-lint. Note that golangci-lint fails if the AST cannot be parsed (i.e. if there are any syntax errors), so it can also be used for checking syntax correctness, which itself is a good proxy for checking for merge conflict strings. We can fail-fast with any checks this way - there's no need to spin up a compilation and a go test invocation if there are syntax errors.
  • CLI for Windows with Go
    8 projects | dev.to | 12 Dec 2020
    If you want to run golangci-lint in CI, you can use golangci-lint-action same as other actions.

What are some alternatives?

When comparing golangci-lint and golangci-lint-action you can also consider the following projects:

ireturn - Accept Interfaces, Return Concrete Types

gosec - Golang security checker

gopl.io - Example programs from "The Go Programming Language"

go - The Go programming language

setup-go - Set up your GitHub Actions workflow with a specific version of Go

ls-lint - An extremely fast directory and filename linter - Bring some structure to your project filesystem

go-tools - Staticcheck - The advanced Go linter

golang-standards/project-layout - Standard Go Project Layout

maligned - Tool to detect Go structs that would take less memory if their fields were sorted.

action-gh-release - πŸ“¦ :octocat: GitHub Action for creating GitHub Releases

viper - Go configuration with fangs

gofumpt - A stricter gofmt