defaults: &defaults
docker:
- - image: bepsays/ci-goreleaser:1.15.1
+ - image: bepsays/ci-goreleaser:1.16.0
environment:
CGO_ENABLED: "0"
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:
#### 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
hugo:
plugin: nil
- build-snaps: [go/1.15/stable]
+ build-snaps: [go/1.16/stable]
source: .
override-build: |
set -ex