From bab98adddddbf8ccd94e50a17ef63ddf0a76b772 Mon Sep 17 00:00:00 2001 From: David Lick Date: Thu, 17 Jun 2021 17:34:24 -0400 Subject: [PATCH] Export PATH to include GOPATH https://github.com/actions/setup-go/issues/14 --- .github/workflows/supermarket-api-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/supermarket-api-ci.yml b/.github/workflows/supermarket-api-ci.yml index 95afbc9..e42e88c 100644 --- a/.github/workflows/supermarket-api-ci.yml +++ b/.github/workflows/supermarket-api-ci.yml @@ -10,4 +10,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v1 - - run: make unit-test + with: + go-version: 1.x + - run: | + export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14 + make unit-test