summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-16 08:57:58 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-03-16 08:57:58 +0100
commita6488e7bad883c71fb08655948d83574d7f703f9 (patch)
tree9a9f169d2b74690f28ee509ea751b2b79f6ce544 /.github/workflows
parent65a78cae1ecdcfcb0701d78fed812083a1a6e82b (diff)
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
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml6
1 files changed, 5 insertions, 1 deletions
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: