From d93bd4b935632a9a9cfa699997cdce48b47db33a Mon Sep 17 00:00:00 2001 From: Angel Misevski Date: Wed, 8 Jun 2022 16:53:50 -0400 Subject: [PATCH] Update release GH action to set up Go correctly The setup-go step is required in the release action to add Go to the path. Otherwise, installing goimports later will succeed but the binary will not be available. Signed-off-by: Angel Misevski --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f7c727c0c..20eff4b8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,11 @@ jobs: OPM_VERSION: v1.19.5 runs-on: ubuntu-20.04 steps: + - name: Set up Go 1.x + uses: actions/setup-go@v2 + with: + go-version: 1.16.6 + - name: Clone source code uses: actions/checkout@v2 with: