mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +01:00
.github/workflows: allow go-vet for Go 1.19
This commit is contained in:
parent
bb799da51f
commit
12876343ff
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -77,9 +77,6 @@ jobs:
|
|||||||
go list ./... | grep -v -x -F -f .github/workflows/govetblock_windows.txt | xargs go vet
|
go list ./... | grep -v -x -F -f .github/workflows/govetblock_windows.txt | xargs go vet
|
||||||
|
|
||||||
- name: go vet (vettool)
|
- name: go vet (vettool)
|
||||||
# Stop vettools for old Go versions. Apparently this is an issue in golang.org/x/tools (golang/go#62519)
|
|
||||||
# TODO: Update golang.org/x/tools and remove this restriction.
|
|
||||||
if: ${{ !startsWith(matrix.go, '1.18.') && !startsWith(matrix.go, '1.19.') }}
|
|
||||||
run: |
|
run: |
|
||||||
go install ./internal/vettools
|
go install ./internal/vettools
|
||||||
go vet -vettool=$(which vettools)${{ runner.os == 'Windows' && '.exe' || '' }} -v ./...
|
go vet -vettool=$(which vettools)${{ runner.os == 'Windows' && '.exe' || '' }} -v ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user