From: Martin Tournoij Date: Thu, 13 Oct 2022 04:56:56 +0000 (+0200) Subject: Don't run illumos as root in the CI (#517) X-Git-Tag: v1.7.2~52 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=acadbbe03449bb79548c891c3448883536614bc3;p=fsnotify.git Don't run illumos as root in the CI (#517) Fixes #515 --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3fa43d2..13d6390 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -123,7 +123,10 @@ jobs: prepare: | pkg install go-119 run: | - /opt/ooce/go-1.19/bin/go test ./... + useradd action + export GOCACHE=/tmp/go-cache + export GOPATH=/tmp/go-path + su action -c '/opt/ooce/go-1.19/bin/go test ./...' # Older Debian 6, for old Linux kernels. testDebian6: