Update build-test.yml

Signed-off-by: 蔡秀吉 <84045975+thc1006@users.noreply.github.com>
pull/31068/head
蔡秀吉 2 months ago committed by GitHub
parent c89e390297
commit 2cb1332bad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -26,11 +26,11 @@ jobs:
with: with:
go-version: '${{ env.GOLANG_VERSION }}' go-version: '${{ env.GOLANG_VERSION }}'
check-latest: true check-latest: true
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.50.1
- name: Test source headers are present - name: Test source headers are present
run: make test-source-headers run: make test-source-headers
- name: Run unit tests - name: Run unit tests
run: make test-coverage run: make test-coverage
env:
TESTFLAGS: "-count=2 -shuffle=on"
- name: Test build - name: Test build
run: make build run: make build

Loading…
Cancel
Save