Update to Go 1.19

Fixes #10145
This commit is contained in:
Bjørn Erik Pedersen 2022-08-03 12:27:03 +02:00
parent cbdaff2135
commit 0cd1929b9c
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
defaults: &defaults defaults: &defaults
docker: docker:
- image: bepsays/ci-goreleaser:1.1800.300 - image: bepsays/ci-goreleaser:1.21900.20000
environment: environment:
CGO_ENABLED: "0" CGO_ENABLED: "0"

View file

@ -13,7 +13,7 @@ jobs:
# Go 1.18 had some breaking changes on the source level which means Hugo cannot be built # 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 too good to pass on (e.g. break and continue). # with older Go versions, but the improvements in Go 1.18 were too 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. # Note that you don't need Go (or Go 1.18) to run a pre-built binary.
go-version: [1.18.x] go-version: [1.18.x,1.19.x]
os: [ubuntu-latest, macos-latest, windows-latest] os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:

View file

@ -53,7 +53,7 @@ parts:
hugo: hugo:
plugin: nil plugin: nil
build-snaps: [go/1.18/stable] build-snaps: [go/1.19/stable]
source: . source: .
override-build: | override-build: |
set -ex set -ex