CI: workaround for golang.org/x/tools error

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2022-05-24 15:28:30 +09:00
parent a14bd76b6b
commit 3e31c9b44c
No known key found for this signature in database
GPG Key ID: 49524C6F9F638F1A

View File

@ -34,6 +34,10 @@ jobs:
if: matrix.go == '1.18.x' && matrix.os == 'ubuntu-latest'
run: test -z $(gofmt -l .)
# https://github.com/urfave/cli/pull/1405#issuecomment-1135458582
- name: workaround for golang.org/x/tools error
run: go mod download golang.org/x/tools
- name: vet
run: go run internal/build/build.go vet