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 fail-fast: false
matrix: matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ] os: [ ubuntu-latest, macos-latest, windows-latest ]
go: [ '1.18', '1.20' ] go: [ '1.19', '1.20' ]
include: include:
# Set the minimum Go patch version for the given Go minor # Set the minimum Go patch version for the given Go minor
# Usable via ${{ matrix.GO_SEMVER }} # Usable via ${{ matrix.GO_SEMVER }}
- go: '1.18' - go: '1.19'
GO_SEMVER: '~1.18.4' GO_SEMVER: '~1.19.6'
- go: '1.20' - go: '1.20'
GO_SEMVER: '~1.20.0' GO_SEMVER: '~1.20.1'
# 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

View file

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

View file

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

View file

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