From 6dee59b78959682cc2577c4398ba5bfc810ff34f Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 20 Mar 2022 11:15:07 +0100 Subject: [PATCH] Install gox before checking out code Otherwise newer Go versions complain that the hash for the installed version of gox is not in the go.mod, which we don't want anyways because the tests should use the latest version of gox. --- .github/workflows/tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6ac873897..0adc768ab 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -233,12 +233,12 @@ jobs: with: go-version: ${{ env.latest_go }} - - name: Check out code - uses: actions/checkout@v2 - - name: Install gox run: | - go install github.com/mitchellh/gox + go install github.com/mitchellh/gox@latest + + - name: Check out code + uses: actions/checkout@v2 - name: Cross-compile with gox for ${{ matrix.targets }} env: