golangci-linter

command module
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2020 License: MIT Imports: 9 Imported by: 0

README

golangci-linter

This action lints your Golang Project with GolangCI-Lint simply.

Feature

  • Output lint result as error annotations of GitHub Actions.

Demo

Demo

Inputs

config

Optional Path of the GolangCI-Lint config file. Default none.

basePath

Optional Path of the Golang project root directory. Default "."

Outputs

nothing.

Example usage

Same as golangci-lint run

uses: Mushus/golangci-linter@v1

Same as golangci-lint run .golangci.yml

uses: Mushus/golangci-linter@v1
with:
  config: .golangci.yml

Using a prebuild image from DockerHub

uses: docker://mushus/golangci-linter:1.1.1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL