Skip to content

Commit 9c737a6

Browse files
committed
ci: export GOPATH
1 parent a64e4a1 commit 9c737a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ jobs:
123123
sudo apt-get install -y --no-install-recommends libssh2-1-dev
124124
go install golang.org/x/tools/cmd/stringer@latest
125125
- name: Generate files
126-
run: make generate
126+
run: |
127+
export PATH=$(go env GOPATH)/bin:$PATH
128+
make generate
127129
- name: Check nothing changed
128130
run: git diff --quiet --exit-code || (echo "detected changes after generate" ; git status ; exit 1)

0 commit comments

Comments
 (0)