Change Go version to 1.19 (#2543)

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2023-01-04 13:43:13 -08:00
committed by GitHub
parent 1d951b28aa
commit d8b3d0715f
5 changed files with 210 additions and 204 deletions

View File

@@ -22,7 +22,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -84,7 +84,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -141,7 +141,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -175,7 +175,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -222,7 +222,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -263,7 +263,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Read .nvmrc
@@ -299,7 +299,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -361,7 +361,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -419,7 +419,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -482,7 +482,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -534,7 +534,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -586,7 +586,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -638,7 +638,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -690,7 +690,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -742,7 +742,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -801,7 +801,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -862,7 +862,7 @@ jobs:
runs-on: [ ubuntu-latest ]
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -923,7 +923,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Check out code
@@ -994,7 +994,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
@@ -1068,7 +1068,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
@@ -1146,7 +1146,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1183,7 +1183,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1220,7 +1220,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1257,7 +1257,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1294,7 +1294,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1331,7 +1331,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1367,7 +1367,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1411,7 +1411,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1456,7 +1456,7 @@ jobs:
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1564,7 +1564,7 @@ jobs:
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1630,7 +1630,7 @@ jobs:
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1670,7 +1670,7 @@ jobs:
echo "replace github.com/minio/console => ../" >> go.mod
echo "updates to go.mod needed; to update it: go mod tidy"
go mod tidy -compat=1.18
go mod tidy -compat=1.19
echo "Get git version to build MinIO Image";
VERSION=`git rev-parse HEAD`;
@@ -1702,7 +1702,7 @@ jobs:
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
steps:
@@ -1764,7 +1764,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.18.x ]
go-version: [ 1.19.x ]
os: [ ubuntu-latest ]
steps:
- name: Set up Go ${{ matrix.go-version }} on ${{ matrix.os }}
@@ -1856,7 +1856,7 @@ jobs:
echo "download golang x tools"
go mod download golang.org/x/tools
echo "go mod tidy compat mode"
go mod tidy -compat=1.18
go mod tidy -compat=1.19
echo "go build gocoverage.go"
go build gocovmerge.go
echo "put together the outs for final coverage resolution"