Browse Source

ci: Start testing on Go 1.17, drop 1.15 (#4283)

master
Francis Lavoie 3 years ago
committed by GitHub
parent
commit
6bc87ea2ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/ci.yml
  2. 2
      .github/workflows/cross-build.yml
  3. 2
      .github/workflows/release.yml
  4. 2
      README.md
  5. 2
      go.mod

2
.github/workflows/ci.yml

@ -19,7 +19,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ] 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 }} # Set some variables per OS, usable via ${{ matrix.VAR }}
# CADDY_BIN_PATH: the path to the compiled Caddy binary, for artifact publishing # CADDY_BIN_PATH: the path to the compiled Caddy binary, for artifact publishing

2
.github/workflows/cross-build.yml

@ -16,7 +16,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
goos: ['android', 'linux', 'solaris', 'illumos', 'dragonfly', 'freebsd', 'openbsd', 'plan9', 'windows', 'darwin', 'netbsd'] 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 runs-on: ubuntu-latest
continue-on-error: true continue-on-error: true
steps: steps:

2
.github/workflows/release.yml

@ -11,7 +11,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ ubuntu-latest ] os: [ ubuntu-latest ]
go: [ '1.16' ] go: [ '1.17' ]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:

2
README.md

@ -75,7 +75,7 @@ For other install options, see https://caddyserver.com/docs/install.
Requirements: Requirements:
- [Go 1.15 or newer](https://golang.org/dl/) - [Go 1.16 or newer](https://golang.org/dl/)
### For development ### For development

2
go.mod

@ -1,6 +1,6 @@
module github.com/caddyserver/caddy/v2 module github.com/caddyserver/caddy/v2
go 1.15 go 1.16
require ( require (
github.com/Masterminds/sprig/v3 v3.2.2 github.com/Masterminds/sprig/v3 v3.2.2

Loading…
Cancel
Save