Add golanci/golint to github actions

Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
This commit is contained in:
Alistair Hey 2021-05-29 08:30:18 +01:00
parent 0f726ea0e7
commit 651b38672d
1 changed files with 9 additions and 0 deletions

View File

@ -26,3 +26,12 @@ jobs:
go vet ./... go vet ./...
go test -v ./... go test -v ./...
go build ./... 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