GitHub: use go version that understands retract directive

As is customary with new GitHub actions, they don't work on first
attempt if you don't test them *sigh*

We need to use a more recent version of golang than is pre-installed to
avoid the "unknown directive: retract" error message.
This commit is contained in:
Oliver Gugger 2021-11-23 09:32:14 +01:00
parent fd22aab52e
commit 260094cf07
No known key found for this signature in database
GPG key ID: 8E4256593F177720

View file

@ -116,6 +116,11 @@ jobs:
with:
fetch-depth: 0
- name: setup go ${{ env.GO_VERSION }}
uses: actions/setup-go@v2
with:
go-version: '${{ env.GO_VERSION }}'
- name: fetch and rebase on master
run: |
git remote add upstream https://github.com/lightningnetwork/lnd