From 5376e5113e25d85725e1f64d06a288700a50bbaa Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Thu, 18 Feb 2021 07:09:49 -0500 Subject: [PATCH] ci: Build and test on Go 1.16, bump minimum to 1.15 (#4024) * ci: Build and test on Go 1.16 * ci: Drop Go 1.14 support --- .github/workflows/ci.yml | 2 +- .github/workflows/cross-build.yml | 2 +- .github/workflows/release.yml | 2 +- README.md | 2 +- go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9540fddd9..22e7d7ea5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - go: [ '1.14', '1.15' ] + go: [ '1.15', '1.16' ] # Set some variables per OS, usable via ${{ matrix.VAR }} # CADDY_BIN_PATH: the path to the compiled Caddy binary, for artifact publishing diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml index f8ae5bbc3..4da0a2570 100644 --- a/.github/workflows/cross-build.yml +++ b/.github/workflows/cross-build.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: goos: ['android', 'linux', 'solaris', 'illumos', 'dragonfly', 'freebsd', 'openbsd', 'plan9', 'windows', 'darwin', 'netbsd'] - go: [ '1.14', '1.15' ] + go: [ '1.15', '1.16' ] runs-on: ubuntu-latest continue-on-error: true steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9273ffb7b..844b74b24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - go: [ '1.15' ] + go: [ '1.16' ] runs-on: ${{ matrix.os }} steps: diff --git a/README.md b/README.md index 184525f3d..620573eb9 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ For other install options, see https://caddyserver.com/docs/download. Requirements: -- [Go 1.14 or newer](https://golang.org/dl/) +- [Go 1.15 or newer](https://golang.org/dl/) ### For development diff --git a/go.mod b/go.mod index 4342a36db..4f991e6e9 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/caddyserver/caddy/v2 -go 1.14 +go 1.15 require ( github.com/Masterminds/sprig/v3 v3.1.0