From 1557bb03d3108410e146130da94b42abdf58eec7 Mon Sep 17 00:00:00 2001 From: andig Date: Tue, 2 Nov 2021 15:15:12 +0100 Subject: [PATCH] Move linter to an earlier position Refs https://github.com/golangci/golangci-lint-action/issues/244 --- .github/workflows/build.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b2a55342e5..5c76020881 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,12 @@ jobs: with: fetch-depth: 0 + - name: Lint + uses: golangci/golangci-lint-action@v2 + with: + version: latest + skip-go-installation: true + - name: Install tools run: make install @@ -44,11 +50,6 @@ jobs: - name: Build run: make build - - name: Lint - uses: golangci/golangci-lint-action@v2 - with: - version: v1.37 - - name: Test run: make test