build: Ensure ci lints all modules.
Use run_tests.sh in CI because the official golangci-lint GitHub action does not handle submodules.
This commit is contained in:
parent
c9f3573d8b
commit
68047dc6ce
11
.github/workflows/go.yml
vendored
11
.github/workflows/go.yml
vendored
@ -16,10 +16,7 @@ jobs:
|
|||||||
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.1.0
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3.1.0
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build ./...
|
run: go build ./...
|
||||||
- name: Test
|
- name: Install Linters
|
||||||
run: env GORACE="halt_on_error=1" go test -race ./...
|
run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.50.1"
|
||||||
- name: Lint
|
- name: Test and Lint
|
||||||
uses: golangci/golangci-lint-action@0ad9a0988b3973e851ab0a07adf248ec2e100376 #v3.3.1
|
run: ./run_tests.sh
|
||||||
with:
|
|
||||||
version: v1.50.1
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user