From 929ac80b864c1e0ae64cd057b2bf840d3e54e1bc Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Fri, 31 Jul 2020 14:14:34 +0200 Subject: [PATCH] CI: Also run golangci-lint --- .github/workflows/lint.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..e834da9 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,24 @@ +name: lint + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + lint: + name: golang + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v2 + + - name: Install dependencies + run: | + make common + + - name: lint + uses: golangci/golangci-lint-action@v2 + with: + version: v1.29