Skip to content
SPECIFICTION
Get listed

actionlint vs golangci-lint

actionlint

rhysd.github.io

golangci-lint

golangci-lint.run

Side by side

Figureactionlintgolangci-lint
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WebYes—
WindowsYesYes
macOSYesYes
LinuxYesYes
Self-hostedYesYes
Plans published11
Spec score · Linters8.3 (#5)7.8 (#17)
ConfigurationThe README says configuration can set self-hosted runner labels, configuration variables, and error ignore patterns by file path.Golangci-lint supports YAML configuration.
Purposeactionlint is a static checker for GitHub Actions workflow files.Golangci-lint is a fast linter runner for Go that runs linters in parallel, uses caching, supports YAML configuration, and includes over a hundred linters.

Plans

actionlint

  • actionlintFree

actionlint pricing →

golangci-lint

  • Free and open-sourceFree

golangci-lint pricing →

In their own words

actionlint

actionlint is a static checker for GitHub Actions workflow files. It flags unexpected or missing syntax keys and checks `${{ }}` expressions for semantic issues such as missing properties and mismatched types. It validates action inputs and outputs, along with inputs, outputs, and secrets used in reusable workflows and workflow calls. Security checks cover script injection risks involving untrusted inputs and hard-coded credentials. For scripts in `run:` steps, it can use ShellCheck and Pyflakes integrations, which can be disabled. Installation options documented by the project include prebuilt binaries, Docker, source builds, a CI download script, and package managers. Its browser playground runs through WebAssembly and states that it does not send data outside the browser. The project also describes integrations with code review tools, CI and editors, provides Go APIs, and allows configuration of self-hosted runner labels, configuration variables, and file-specific ignore patterns. actionlint is free and MIT-licensed, with a command-line tool and browser playground. The listed platforms include Linux, macOS, Windows, web, and self-hosted use.

Visit rhysd.github.io

golangci-lint

golangci-lint is a Go linter runner that executes linters in parallel, reuses caches, and accepts YAML configuration. It includes more than a hundred linters, with default settings tuned to minimize false positives. Results can be emitted in text, JSON, tab, HTML, Checkstyle, Code Climate, JUnit-XML, TeamCity, and SARIF formats. Documented editor integrations include GoLand, Visual Studio Code, GNU Emacs, Vim, the Language Server Protocol, and Sublime Text. The project recommends its GitHub Action for GitHub CI and also documents GitLab CI and Buildkite integrations. Installation options include binaries and package managers on Linux, macOS, and Windows, plus Docker. The FAQ says it supports the two latest minor Go versions, subject to the limit that the version cannot be newer than the Go version used to compile the tool. The project recommends installing a specific version in CI for reproducible builds. It recommends binary installation; several source-based methods are not guaranteed to work. The volunteer-built project is free and open source.

Visit golangci-lint.run