workflow: линтеры перенесены в начало
This commit is contained in:
parent
1811e22d16
commit
cf603b4869
@ -32,6 +32,14 @@ jobs:
|
||||
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest
|
||||
make vendor
|
||||
|
||||
- name: lint
|
||||
run: make lint
|
||||
|
||||
- name: golangci-lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.60
|
||||
|
||||
- name: test
|
||||
run: make test
|
||||
|
||||
@ -61,14 +69,6 @@ jobs:
|
||||
path: out/bin/*
|
||||
overwrite: true
|
||||
|
||||
- name: lint
|
||||
run: make lint
|
||||
|
||||
- name: golangci-lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.60
|
||||
|
||||
build_windows:
|
||||
runs-on: windows
|
||||
defaults:
|
||||
|
@ -47,10 +47,23 @@ jobs:
|
||||
overwrite: true
|
||||
|
||||
- name: set-up dependencies
|
||||
run: make clean vendor
|
||||
run: |
|
||||
go install github.com/kisielk/errcheck@latest
|
||||
go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
go install github.com/sashamelentyev/usestdlibvars@latest
|
||||
go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest
|
||||
make vendor
|
||||
|
||||
- name: lint
|
||||
run: make lint
|
||||
|
||||
- name: golangci-lint
|
||||
uses: https://github.com/golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.60
|
||||
|
||||
- name: test
|
||||
run: make lint test
|
||||
run: make test
|
||||
|
||||
- name: build amd64 package
|
||||
id: build-amd
|
||||
|
Loading…
Reference in New Issue
Block a user