Skip to content

Commit e6bfadb

Browse files
committed
chore: bump Go versions
1.21 + 1.22 -> 1.22 + 1.23
1 parent 4d0e69d commit e6bfadb

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/govmomi-build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ jobs:
4646
- name: Set up Go
4747
uses: actions/setup-go@v5
4848
with:
49-
go-version: 1.21
49+
go-version: 1.22
5050

5151
- name: Restore Go cache
5252
uses: actions/cache@v4
5353
with:
5454
path: |
5555
~/.cache/go-build
5656
~/go/pkg/mod
57-
key: ${{ runner.os }}-go-1.21-${{ hashFiles('**/go.sum') }}
57+
key: ${{ runner.os }}-go-1.22-${{ hashFiles('**/go.sum') }}
5858
restore-keys: |
59-
${{ runner.os }}-go-1.21-
59+
${{ runner.os }}-go-1.22-
6060
6161
- name: Create CHANGELOG
6262
env:

.github/workflows/govmomi-go-lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Go
3535
uses: actions/setup-go@v5
3636
with:
37-
go-version: 1.21
37+
go-version: 1.22
3838
id: go
3939

4040
- name: Go Lint
@@ -61,7 +61,7 @@ jobs:
6161
- name: Set up Go
6262
uses: actions/setup-go@v5
6363
with:
64-
go-version: 1.21
64+
go-version: 1.22
6565
id: go
6666

6767
- name: Install Tools

.github/workflows/govmomi-go-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: Run Unit Tests
2727
strategy:
2828
matrix:
29-
go-version: ["1.21", "1.22"]
29+
go-version: ["1.22", "1.23"]
3030
platform: ["ubuntu-20.04"]
3131
fail-fast: false
3232

.github/workflows/govmomi-govc-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
go-version: ["1.21"]
34+
go-version: ["1.22"]
3535
platform: ["ubuntu-20.04"]
3636
cmd: ["govc-test"]
3737
experimental: [false]
@@ -73,7 +73,7 @@ jobs:
7373
name: Verify govc docs are up2date
7474
strategy:
7575
matrix:
76-
go-version: ["1.21"]
76+
go-version: ["1.22"]
7777
platform: ["ubuntu-20.04"]
7878
runs-on: ${{ matrix.platform }}
7979
timeout-minutes: 3

.github/workflows/govmomi-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Set up Go
7373
uses: actions/setup-go@v5
7474
with:
75-
go-version: '1.22'
75+
go-version: '1.23'
7676

7777
- name: Update version.go
7878
run: |

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/vmware/govmomi
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/a8m/tree v0.0.0-20210115125333-10a5fd5b637d

0 commit comments

Comments
 (0)