Move linter back to when cache has been populated
This commit is contained in:
parent
6e4df6ceaa
commit
468d60c9bc
1 changed files with 8 additions and 8 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue