Skip to content

Commit 5ad37fc

Browse files
committed
set go's mod cache env var to a directory we can write to
1 parent 79a395b commit 5ad37fc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/e2e-tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
uses: actions/setup-go@v5
5555
with:
5656
go-version: "1.22"
57+
58+
- name: Set up Go module cache directory
59+
run: |
60+
export GOMODCACHE="${{ github.workspace }}/.gomodcache"
61+
mkdir -p "$GOMODCACHE"
62+
echo "GOMODCACHE=$GOMODCACHE" >> $GITHUB_ENV
5763
5864
- name: Build devspacehelper
5965
run: |

0 commit comments

Comments
 (0)