Skip to content

Commit

Permalink
Update CI to use golang 1.22 and 1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
anujc25 committed Jan 3, 2025
1 parent 5c9f836 commit 6a24909
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compatibility_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.23
id: go

- name: Setup dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
matrix:
go:
- 18
- 19
- 22
- 23
name: Test-1.${{ matrix.go }}.x
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.23
id: go

- name: go cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.23
id: go

- name: Check out code into the Go module directory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/vmware-tanzu/tanzu-plugin-runtime/test/compatibility/testplugins/runtime-test-plugin-latest

go 1.18
go 1.22.0

toolchain go1.23.1

replace github.com/vmware-tanzu/tanzu-plugin-runtime => ./../../../../../tanzu-plugin-runtime

Expand Down
4 changes: 3 additions & 1 deletion test/plugins/helloworld/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/vmware-tanzu/tanzu-plugin-runtime/test/plugins/helloworld

go 1.18
go 1.22.0

toolchain go1.23.1

replace github.com/vmware-tanzu/tanzu-plugin-runtime => ../../../

Expand Down

0 comments on commit 6a24909

Please sign in to comment.