.github/workflows: enable go-vet on Windows

Updates #1306
This commit is contained in:
Hajime Hoshi 2022-10-30 12:00:35 +09:00
parent ac61126473
commit 3ced2ec6c7
2 changed files with 3 additions and 2 deletions

2
.github/workflows/govetblock.txt vendored Normal file
View File

@ -0,0 +1,2 @@
github.com/hajimehoshi/ebiten/v2/internal/glfwwin
github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/directx

View File

@ -63,9 +63,8 @@ jobs:
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- name: go vet
if: ${{ !startsWith(matrix.os, 'windows-') }} # TODO: Fix go vet errors on Windows. (#1306)
run: |
go vet -tags=example -v ./...
go list -tags=example ./... | grep -v -x -F -f govetblock.txt | xargs go vet
- name: go vet (vettool)
run: |