From cd9b8d290563a71ef4a7b6939209c6c7d48c56b3 Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Sat, 26 Mar 2022 16:56:05 +0300 Subject: [PATCH] Pass PATH to sudo --- .releaser-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.releaser-ci.yml b/.releaser-ci.yml index 33a040f..f01b4ff 100644 --- a/.releaser-ci.yml +++ b/.releaser-ci.yml @@ -11,8 +11,8 @@ check: - golangci-lint run --build-tags private,solution ./... #- go test -v -tags private,solution ./... #- go test -v -race -tags private,solution ./... - - sudo -u nobody go test $(go list -tags private,solution ./... | grep -v /dockertest | grep -v /foolsday3) -tags private,solution -v ./... - - sudo -u nobody go test $(go list -tags private,solution ./... | grep -v /dockertest) -tags private,solution -v -race ./... + - sudo -u nobody PATH=$PATH go test $(go list -tags private,solution ./... | grep -v /dockertest | grep -v /foolsday3) -tags private,solution -v ./... + - sudo -u nobody PATH=$PATH go test $(go list -tags private,solution ./... | grep -v /dockertest) -tags private,solution -v -race ./... rebuild-base-image: tags: