.github/workflow: Bug fix: Need .exe for Windows

Updates #1661
This commit is contained in:
Hajime Hoshi 2021-08-28 02:45:01 +09:00
parent d378c12107
commit 4cbb3e54c1

View File

@ -70,7 +70,7 @@ jobs:
- name: go vet (atomic align) - name: go vet (atomic align)
run: | run: |
go install .github/workflows/vettools/atomicalign.go go install .github/workflows/vettools/atomicalign.go
go vet -vettool=$(which atomicalign) -tags=example -v ./... go vet -vettool=$(which atomicalign)${{ startsWith(matrix.os, 'windows-') && '.exe' || '' }} -tags=example -v ./...
- name: go build - name: go build
run: | run: |