Skip to content

Commit a34db2e

Browse files
configure GOPATH explicitly in CI
Signed-off-by: Achille Roussel <[email protected]>
1 parent a06e2e3 commit a34db2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
mkdir -p $HOME/gotip
3232
tar -C $HOME/gotip -xzf gotip.tar.gz
3333
- run: make wasirun
34-
- run: make test GO=$HOME/gotip/bin/go
34+
- run: make test GO=$HOME/gotip/bin/go GOPATH=$HOME/gotip

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: test lint wasirun
22

3-
GOPATH = $(shell $(GO) env GOPATH)
3+
GOPATH ?= $(shell $(GO) env GOPATH)
44

55
wasip1.test: go.mod $(wildcard wasip1/*.go)
66
GOARCH=wasm GOOS=wasip1 $(GO) test -c ./wasip1

0 commit comments

Comments
 (0)