From ef6dcefbb7f8e0c28324c03892afeb3a7e12a2cd Mon Sep 17 00:00:00 2001 From: Gunjan Date: Fri, 1 Oct 2021 09:52:03 +0530 Subject: [PATCH] chore: adds golangci-lint github action - Adding github action for linting checks on pull requests Signed-off-by: guacamole --- .github/workflows/golangci-lint.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/golangci-lint.yaml diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml new file mode 100644 index 00000000..806c1fc2 --- /dev/null +++ b/.github/workflows/golangci-lint.yaml @@ -0,0 +1,14 @@ +name: golangci-lint +on: + pull_request: +jobs: + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: golangci-lint + uses: golangci/golangci-lint-action@v2 + with: + version: latest + args: --config golangci.yaml