ci: export GOPATH

This commit is contained in:
Kirill 2021-11-08 17:34:55 +03:00
parent a64e4a1a75
commit 9c737a6d50
No known key found for this signature in database
GPG Key ID: 91CCC23DB8680D12
1 changed files with 3 additions and 1 deletions

View File

@ -123,6 +123,8 @@ jobs:
sudo apt-get install -y --no-install-recommends libssh2-1-dev
go install golang.org/x/tools/cmd/stringer@latest
- name: Generate files
run: make generate
run: |
export PATH=$(go env GOPATH)/bin:$PATH
make generate
- name: Check nothing changed
run: git diff --quiet --exit-code || (echo "detected changes after generate" ; git status ; exit 1)