From a6488e7bad883c71fb08655948d83574d7f703f9 Mon Sep 17 00:00:00 2001 From: Bjørn Erik Pedersen Date: Wed, 16 Mar 2022 08:57:58 +0100 Subject: Remove Go 1.17 support Go 1.18 had some breaking changes on source level meaning we cannot build on older Go versions anymore. The improvements in Go 1.18 (e.g. `break` and `continue`) were to good to pass on. Note that you don't need Go (or Go 1.18) to run a pre-built binary. Updates #9677 --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08822e53b..74c41d28c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,11 @@ jobs: GO111MODULE: on strategy: matrix: - go-version: [1.17.x, 1.18.x] + # Note: We upgraded to Go 1.18 in Hugo v0.95.0 + # Go 1.18 had some breaking changes on the source level which means Hugo cannot be built + # with older Go versions, but the improvements in Go 1.18 were to good to pass on (e.g. break and continue). + # Note that you don't need Go (or Go 1.18) to run a pre-built binary. + go-version: [1.18.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: -- cgit v1.2.3