mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Update Travis, GitHub, CircleCI and Snap to Go 1.16 (only)
This commit is contained in:
parent
9650e56841
commit
718fba7d63
4 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
defaults: &defaults
|
defaults: &defaults
|
||||||
docker:
|
docker:
|
||||||
- image: bepsays/ci-goreleaser:1.15.1
|
- image: bepsays/ci-goreleaser:1.16.0
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: "0"
|
CGO_ENABLED: "0"
|
||||||
|
|
||||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -7,7 +7,7 @@ jobs:
|
||||||
GO111MODULE: on
|
GO111MODULE: on
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.14.x, 1.15.x]
|
go-version: [1.16.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:
|
||||||
|
|
|
@ -54,7 +54,7 @@ Use the [installation instructions in the Hugo documentation](https://gohugo.io/
|
||||||
#### Prerequisite Tools
|
#### Prerequisite Tools
|
||||||
|
|
||||||
* [Git](https://git-scm.com/)
|
* [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
|
#### Fetch from GitHub
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ parts:
|
||||||
|
|
||||||
hugo:
|
hugo:
|
||||||
plugin: nil
|
plugin: nil
|
||||||
build-snaps: [go/1.15/stable]
|
build-snaps: [go/1.16/stable]
|
||||||
source: .
|
source: .
|
||||||
override-build: |
|
override-build: |
|
||||||
set -ex
|
set -ex
|
||||||
|
|
Loading…
Reference in a new issue