From 468214427277d44c98b4dbc66829c5f4cd392821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 17 Feb 2021 12:13:36 +0100 Subject: [PATCH] Update Travis and Snap to Go 1.16 (only) --- .github/workflows/test.yml | 2 +- README.md | 2 +- snap/snapcraft.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3eb119cddb..caa123f3c22 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: GO111MODULE: on strategy: matrix: - go-version: [1.14.x, 1.15.x] + go-version: [1.16.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: diff --git a/README.md b/README.md index fb878431e04..b2a8ca056bf 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Use the [installation instructions in the Hugo documentation](https://gohugo.io/ #### Prerequisite Tools * [Git](https://git-scm.com/) -* [Go (we test it with the last 2 major versions)](https://golang.org/dl/) +* [Go (we test it with the last 2 major versions; but note that Hugo 0.81.0 only builds with >= Go 1.16.)](https://golang.org/dl/) #### Fetch from GitHub diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 8aedc130c37..fc2bd02c208 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -26,7 +26,7 @@ parts: hugo: plugin: nil - build-snaps: [go/1.15/stable] + build-snaps: [go/1.16/stable] source: . override-build: | set -ex