From 8b03492104e047813472b34eb4bcbc35aca3be49 Mon Sep 17 00:00:00 2001 From: Marco Pracucci Date: Tue, 14 Sep 2021 11:04:40 +0200 Subject: [PATCH] Run tests with go 1.16 Signed-off-by: Marco Pracucci --- .github/workflows/test.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f57721f65c..f124d37007 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,16 @@ jobs: test: runs-on: ubuntu-20.04 steps: + - name: Upgrade golang + run: | + cd /tmp + wget https://dl.google.com/go/go1.16.8.linux-amd64.tar.gz + tar -zxvf go1.16.8.linux-amd64.tar.gz + sudo rm -fr /usr/local/go + sudo mv /tmp/go /usr/local/go + cd - + ls -l /usr/bin/go - name: Checkout Repo uses: actions/checkout@v2 - name: Run Tests - run: make common-test + run: GO=/usr/local/go/bin/go make common-test