Skip to content

Commit 7437a1d

Browse files
committed
set go's mod cache env var to a directory we can write to
Signed-off-by: Ryan Swanson <ryan.swanson@loft.sh>
1 parent 408e46e commit 7437a1d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/e2e-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,12 @@ jobs:
5353
- name: Set up Go
5454
uses: actions/setup-go@v5
5555
with:
56-
go-version: "1.22"
57-
56+
go-version: "1.24"
57+
5858
- name: Build devspacehelper
5959
run: |
60+
export GOMODCACHE="${{ github.workspace }}/.gomodcache"
61+
mkdir -p "$GOMODCACHE"
6062
mkdir -p ~/.devspace/devspacehelper/latest
6163
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-extldflags=-static" -o ~/.devspace/devspacehelper/latest/devspacehelper helper/main.go
6264
chmod +x ~/.devspace/devspacehelper/latest/devspacehelper

0 commit comments

Comments
 (0)