Move lint after build to populate cache
This commit is contained in:
parent
5ac1175091
commit
4497a0a2fb
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -41,6 +41,9 @@ jobs:
|
|||
go mod tidy
|
||||
test -z "$(git status --porcelain)" || (git status; git diff; false)
|
||||
|
||||
- name: Build
|
||||
run: make build
|
||||
|
||||
- name: Lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
|
|
@ -49,9 +52,6 @@ jobs:
|
|||
skip-pkg-cache: true
|
||||
skip-build-cache: true
|
||||
|
||||
- name: Build
|
||||
run: make build
|
||||
|
||||
- name: Test
|
||||
run: make test
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue