Skip to content

Commit be54445

Browse files
add GOPATH for api
Signed-off-by: Nikita Korolev <[email protected]>
1 parent 543601a commit be54445

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/dev_validation.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ jobs:
204204

205205
- name: Run check gen files - ${{ matrix.components.component }}
206206
run: |
207-
set +e # allow script to continue on error if needed
207+
# set +e # allow script to continue on error if needed
208208
209209
# Skip vm-route-forge if no relevant changes
210210
if [[ "${{ matrix.components.component }}" == "vm-route-forge" && "$route_forge_skip" == "true" ]]; then
@@ -243,6 +243,8 @@ jobs:
243243
;;
244244
api)
245245
cd ./api
246+
export GOPATH=$(go env GOPATH)
247+
echo "GOPATH=$GOPATH" >> $GITHUB_ENV
246248
echo "Installing k8s tools..."
247249
go get k8s.io/[email protected]
248250
go install github.com/matryer/[email protected]

0 commit comments

Comments
 (0)