workflow: линтеры перенесены в начало
All checks were successful
build / build_windows (push) Successful in 53s
build / build (push) Successful in 1m23s

This commit is contained in:
Алексей Бадяев 2024-10-17 23:46:32 +07:00
parent 1811e22d16
commit cf603b4869
Signed by: alexey
GPG Key ID: 686FBC1363E4AFAE
2 changed files with 23 additions and 10 deletions

View File

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

View File

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