From 6bc87ea2ff50a962f16dfafeb125f0f947c1a885 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Mon, 16 Aug 2021 23:56:20 -0400 Subject: ci: Start testing on Go 1.17, drop 1.15 (#4283) --- .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 9a46b80..4446125 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - go: [ '1.15', '1.16' ] + go: [ '1.16', '1.17' ] # 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 dc6b8e3..277f22c 100644 --- a/.github/workflows/cross-build.yml +++ b/.github/workflows/cross-build.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: goos: ['android', 'linux', 'solaris', 'illumos', 'dragonfly', 'freebsd', 'openbsd', 'plan9', 'windows', 'darwin', 'netbsd'] - go: [ '1.15', '1.16' ] + go: [ '1.16', '1.17' ] runs-on: ubuntu-latest continue-on-error: true steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 844b74b..834d303 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - go: [ '1.16' ] + go: [ '1.17' ] runs-on: ${{ matrix.os }} steps: diff --git a/README.md b/README.md index b32be89..5f00e32 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ For other install options, see https://caddyserver.com/docs/install. Requirements: -- [Go 1.15 or newer](https://golang.org/dl/) +- [Go 1.16 or newer](https://golang.org/dl/) ### For development diff --git a/go.mod b/go.mod index 8ee7b0d..c353a7d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/caddyserver/caddy/v2 -go 1.15 +go 1.16 require ( github.com/Masterminds/sprig/v3 v3.2.2 -- cgit v1.2.3