Move linter back to when cache has been populated

This commit is contained in:
andig 2021-11-02 16:06:32 +01:00 • committed by GitHub
parent 6e4df6ceaa
commit 468d60c9bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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