From cffb08ad23cb5d1100051fe6a20e0055e8801609 Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Fri, 25 Jun 2021 11:23:13 +0200 Subject: [PATCH] Use go bin --- .github/workflows/golang-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golang-test.yml b/.github/workflows/golang-test.yml index cc1cfbdb9..0e1ee94f8 100644 --- a/.github/workflows/golang-test.yml +++ b/.github/workflows/golang-test.yml @@ -18,7 +18,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Test - run: sudo --preserve-env=GOROOT go test ./... + run: GOBIN=$(which go) && sudo --preserve-env=GOROOT $GOBIN test ./... test_build: strategy: