Skip to content

Commit

Permalink
ci: export GOPATH
Browse files Browse the repository at this point in the history
  • Loading branch information
g4s8 committed Nov 8, 2021
1 parent a64e4a1 commit 9c737a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 9c737a6

Please sign in to comment.