From bb51d0849470544b27a846bd16e51f0fa5489a7c Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov Date: Thu, 7 Apr 2022 16:22:28 +0300 Subject: [PATCH] github-ci: add job with golang-lint Part of #142 --- .github/workflows/check.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 5b41d87a5..388a26559 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -34,3 +34,18 @@ jobs: - name: Run luacheck run: ./.rocks/bin/luacheck . + + golangci: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v2 + + - uses: actions/checkout@v2 + + - name: golangci-lint + uses: golangci/golangci-lint-action@v2 + with: + # Show only new issues if it's a pull request. + only-new-issues: true + args: --issues-exit-code=0