From 04c5841d549cb0e4abc6a4222ac828118e782fb1 Mon Sep 17 00:00:00 2001 From: Sasha Melentyev Date: Tue, 25 Jan 2022 19:40:06 +0300 Subject: [PATCH] ci: add lint --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f71f817..eb4df0e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,6 +37,13 @@ jobs: - name: Go Build run: go build -v ./... + - name: Lint + uses: golangci/golangci-lint-action@v2.5.2 + with: + version: latest + args: --timeout 5m + skip-go-installation: true + - name: Go Test run: go test -v -race -shuffle=on -coverprofile=coverage.txt ./...