.github/workflows: run static analysis on Windows

This condition was accidentally introduced at e505098e55.

Updates #2287
This commit is contained in:
Hajime Hoshi 2022-09-10 13:21:51 +09:00
parent 6b537004ee
commit aa055ea800

View File

@ -74,7 +74,6 @@ jobs:
go vet -tags=example -v ./...
- name: go vet (atomic align, error check)
if: ${{ !startsWith(matrix.os, 'windows-') }} # TODO: Fix go vet errors on Windows. (#1306)
run: |
(cd .github/workflows/vettools; go install .)
go vet -vettool=$(which vettools)${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} -tags=example -v ./...