ci: Update minimum Go version to 1.19

This commit is contained in:
Matthew Holt 2023-02-24 13:45:44 -07:00
parent 8cb1bb4af3
commit 167981d258
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
4 changed files with 7 additions and 7 deletions

View File

@ -19,16 +19,16 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
go: [ '1.18', '1.20' ]
go: [ '1.19', '1.20' ]
include:
# Set the minimum Go patch version for the given Go minor
# Usable via ${{ matrix.GO_SEMVER }}
- go: '1.18'
GO_SEMVER: '~1.18.4'
- go: '1.19'
GO_SEMVER: '~1.19.6'
- go: '1.20'
GO_SEMVER: '~1.20.0'
GO_SEMVER: '~1.20.1'
# Set some variables per OS, usable via ${{ matrix.VAR }}
# CADDY_BIN_PATH: the path to the compiled Caddy binary, for artifact publishing

View File

@ -22,7 +22,7 @@ jobs:
# Set the minimum Go patch version for the given Go minor
# Usable via ${{ matrix.GO_SEMVER }}
- go: '1.20'
GO_SEMVER: '~1.20.0'
GO_SEMVER: '~1.20.1'
runs-on: ubuntu-latest
continue-on-error: true

View File

@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '~1.18.4'
go-version: '~1.19.6'
check-latest: true
- name: golangci-lint

View File

@ -17,7 +17,7 @@ jobs:
# Set the minimum Go patch version for the given Go minor
# Usable via ${{ matrix.GO_SEMVER }}
- go: '1.20'
GO_SEMVER: '~1.20.0'
GO_SEMVER: '~1.20.1'
runs-on: ${{ matrix.os }}
# https://github.com/sigstore/cosign/issues/1258#issuecomment-1002251233