This action wraps the GolangCI-Lint CLI to enable commands.
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"
}
}
PROJECT_PATH - specifies the path from which the golangci-lint will be run
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.