From 260094cf075dfe72daccc98e5d0ca05a1e463671 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Tue, 23 Nov 2021 09:32:14 +0100 Subject: [PATCH] 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. --- .github/workflows/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1505a4d19..ac77f765b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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