From dc6d5203440f20f162b163de7f7ebff94067eaf4 Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Fri, 28 Feb 2020 09:53:56 -0600 Subject: [PATCH] adding language --- .github/run-linter-locally.md | 4 ++++ README.md | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/run-linter-locally.md b/.github/run-linter-locally.md index 13f2c7d6..952c152e 100644 --- a/.github/run-linter-locally.md +++ b/.github/run-linter-locally.md @@ -70,6 +70,10 @@ Once the container has been downloaded to your local environment, you can then b - `-e VALIDATE_DOCKER=` - Default: `true` - Flag to enable or disable the linting process of the language + - **VALIDATE_GO** + - `-e VALIDATE_GO=` + - Default: `true` + - Flag to enable or disable the linting process of the language - **ANSIBLE_DIRECTORY** - `-e ANSIBLE_DIRECTORY=` - Default: `/ansible` diff --git a/README.md b/README.md index a545fc87..ac644bab 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Developers on **GitHub** can call this Action to lint their code base with the f - **XML** (LibXML) - **Coffeescript** (coffeelint) - **Javascript** (eslint)(standard) +- **Golang** (golangci-lint) - **Dockerfile** (dockerfilelint) ## How to use @@ -121,7 +122,10 @@ The super-linter allows you to pass the following `ENV` variables to be able to - Flag to set the root directory for Ansible file location(s) - **VALIDATE_DOCKER** - Default: `true` - - Flag to enable or disable the linting process of the language + - Flag to enable or disable the linting process of the language +- **VALIDATE_GO** + - Default: `true` + - Flag to enable or disable the linting process of the language - **VERBOSE_OUTPUT** - Default: `false` - Flag to enable additional information about the linter, versions, and additional output