Skip to content

GitHub Action for interacting with GolangCI-Lint

License

Notifications You must be signed in to change notification settings

smartinov/golangci-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action for GolangCI-Lint

This action wraps the GolangCI-Lint CLI to enable commands.

Usage

An example workflow to test and build follows:

workflow "Lint" {
  on = "push"
  resolves = ["Lint"]
}

action "Lint" {
  uses = "actions-contrib/golangci-lint@master"
  args = ["run","--new-from-rev=HEAD~"]
  env={
    PROJECT_PATH = "./backend"
  }
}

Configuration

PROJECT_PATH - specifies the path from which the golangci-lint will be run

License

This project is open source software released under the MIT license.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

About

GitHub Action for interacting with GolangCI-Lint

Resources

License

Stars

Watchers

Forks

Packages

No packages published