chore: skip-go-installation to avoid error. remove build before lint
https://github.com/golangci/golangci-lint-action/issues/434#issuecomment-1086127909
This commit is contained in:
@@ -13,13 +13,11 @@ jobs:
|
|||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: ${{ steps.go-version.outputs.go-version }}
|
go-version: ${{ steps.go-version.outputs.go-version }}
|
||||||
- name: Build executable
|
|
||||||
run: |
|
|
||||||
make build
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
uses: golangci/golangci-lint-action@v3.3.1
|
uses: golangci/golangci-lint-action@v3.3.1
|
||||||
with:
|
with:
|
||||||
version: v1.31
|
version: v1.31
|
||||||
|
skip-go-installation: true
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: |
|
run: |
|
||||||
make test race
|
make test race
|
||||||
|
|||||||
Reference in New Issue
Block a user