From 468d60c9bcd5518c5d56cdaa9cc18cc40c5b8260 Mon Sep 17 00:00:00 2001 From: andig Date: Tue, 2 Nov 2021 16:06:32 +0100 Subject: [PATCH] Move linter back to when cache has been populated --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bb35b8e0..96e683d6a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,14 +30,6 @@ jobs: with: fetch-depth: 0 - - name: Lint - uses: golangci/golangci-lint-action@v2 - with: - version: latest - skip-go-installation: true - skip-pkg-cache: true - skip-build-cache: true - - name: Install tools run: make install @@ -49,6 +41,14 @@ jobs: go mod tidy test -z "$(git status --porcelain)" || (git status; git diff; false) + - name: Lint + uses: golangci/golangci-lint-action@v2 + with: + version: latest + skip-go-installation: true + skip-pkg-cache: true + skip-build-cache: true + - name: Build run: make build