chore(deps): bump minimum Go version to 1.21

This commit is contained in:
Ambrose Chua
2024-03-19 15:06:03 +08:00
parent ea485a7806
commit 5ba743afea
5 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.19
go-version: ^1.21
id: go
- name: Check out code into the Go module directory
+2 -2
View File
@@ -5,7 +5,7 @@ jobs:
lint:
strategy:
matrix:
go: [1.18, 1.19]
go: [1.21, 1.22]
name: lint
runs-on: ubuntu-latest
steps:
@@ -16,4 +16,4 @@ jobs:
with:
go-version: ${{ matrix.go }}
- name: "Run go vet"
run: "go vet ./pkg/..."
run: "go vet ./pkg/..."
+2 -2
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.18, 1.19]
go: [1.21, 1.22]
cross_compile: [true, false]
steps:
- uses: actions/checkout@v4
@@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: ^1.21
- name: Install dyff
run: go install github.com/homeport/dyff/cmd/dyff@v1.5.8
- name: Create .coverprofile for each targeted directory by re:running tests