mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
.github/workflows: improve go-vet test targets
This commit is contained in:
parent
ef1e495aba
commit
370e506dc9
@ -1,4 +1,2 @@
|
||||
github.com/hajimehoshi/ebiten/v2/internal/cocoa
|
||||
github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/directx
|
||||
github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/mtl
|
||||
github.com/hajimehoshi/ebiten/v2/internal/goglfw
|
2
.github/workflows/govetblock_windows.txt
vendored
Normal file
2
.github/workflows/govetblock_windows.txt
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/directx
|
||||
github.com/hajimehoshi/ebiten/v2/internal/goglfw
|
15
.github/workflows/test.yml
vendored
15
.github/workflows/test.yml
vendored
@ -61,9 +61,20 @@ jobs:
|
||||
run: |
|
||||
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
||||
|
||||
- name: go vet
|
||||
- name: go vet (Linux)
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
go list ./... | grep -v -x -F -f .github/workflows/govetblock.txt | xargs go vet
|
||||
go vet ./...
|
||||
|
||||
- name: go vet (macOS)
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
go list ./... | grep -v -x -F -f .github/workflows/govetblock_darwin.txt | xargs go vet
|
||||
|
||||
- name: go vet (Windows)
|
||||
if: runner.os == 'Windows'
|
||||
run: |
|
||||
go list ./... | grep -v -x -F -f .github/workflows/govetblock_windows.txt | xargs go vet
|
||||
|
||||
- name: go vet (vettool)
|
||||
# Stop vettools for old Go versions. Apparently this is an issue in golang.org/x/tools (golang/go#62519)
|
||||
|
Loading…
Reference in New Issue
Block a user