GitHub: remove Go env variable override

For some reason we used to override the GOCACHE and GOPATH variables
earlier. This now causes the updated cache action not to pick up any
caches. As the overrides shouldn't be needed anymore, we remove them.
This commit is contained in:
Oliver Gugger 2023-01-06 08:58:40 +01:00
parent cfc48bd81c
commit c4ca7b99e2
No known key found for this signature in database
GPG key ID: 8E4256593F177720
2 changed files with 5 additions and 9 deletions

View file

@ -26,3 +26,8 @@ runs:
key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ env.GO_VERSION }}-
- name: set GOPATH
shell: bash
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV

View file

@ -18,9 +18,6 @@ defaults:
shell: bash
env:
# go needs absolute directories, using the $HOME variable doesn't work here.
GOCACHE: /home/runner/work/go/pkg/build
GOPATH: /home/runner/work/go
BITCOIN_VERSION: "23.0"
# If you change this value, please change it in the following files as well:
@ -236,9 +233,6 @@ jobs:
windows-integration-test:
name: run windows itest
runs-on: windows-latest
env:
GOCACHE: ${{ github.workspace }}/go/pkg/build
GOPATH: ${{ github.workspace }}/go
steps:
- name: git checkout
uses: actions/checkout@v3
@ -320,9 +314,6 @@ jobs:
new-windows-integration-test:
name: run new windows itest
runs-on: windows-latest
env:
GOCACHE: ${{ github.workspace }}/go/pkg/build
GOPATH: ${{ github.workspace }}/go
steps:
- name: git checkout
uses: actions/checkout@v3