From 651b38672d98ea858ff1c909f3941a68462663bf Mon Sep 17 00:00:00 2001 From: Alistair Hey Date: Sat, 29 May 2021 08:30:18 +0100 Subject: [PATCH] Add golanci/golint to github actions Signed-off-by: Alistair Hey --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a90eba..6ca27a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,3 +26,12 @@ jobs: go vet ./... go test -v ./... go build ./... + lint: + name: lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: golangci-lint + uses: golangci/golangci-lint-action@v2 + with: + version: v1.29