diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index cac4082aec..9caa44b018 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -21,14 +21,14 @@ jobs: uses: actions/setup-go@v4 with: go-version: 1.20.4 + check-latest: true + cache-dependency-path: "**/*.sum" - name: Fix go setup run: | go version go env - echo GOPATH=$GOPATH >> $GITHUB_ENV - echo GOCACHE=/home/obscurouser/githubRunner/actions-runner/_work/_tool/go/1.20.4/x64/bin/go >> $GITHUB_ENV - echo GOMODCACHE=/home/obscurouser/githubRunner/actions-runner/_work/_tool/go/1.20.4/x64/bin/go >> $GITHUB_ENV + # Makes sure the artifacts are built correctly - name: Build