diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f2f50edcc..3270b5b8d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,7 +67,7 @@ jobs: - name: go vet (vettool) run: | - (cd ./internal/vettools; go install .) + go install ./internal/vettools go vet -vettool=$(which vettools)${{ runner.os == 'Windows' && '.exe' || '' }} -v ./... - name: go build