Skip to content

Commit

Permalink
chore: bump Go versions
Browse files Browse the repository at this point in the history
1.21 + 1.22 -> 1.22 + 1.23
  • Loading branch information
dougm committed Oct 3, 2024
1 parent 4d0e69d commit e6bfadb
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/govmomi-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,17 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22

- name: Restore Go cache
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-1.21-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-1.22-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-1.21-
${{ runner.os }}-go-1.22-
- name: Create CHANGELOG
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/govmomi-go-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22
id: go

- name: Go Lint
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.22
id: go

- name: Install Tools
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/govmomi-go-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
name: Run Unit Tests
strategy:
matrix:
go-version: ["1.21", "1.22"]
go-version: ["1.22", "1.23"]
platform: ["ubuntu-20.04"]
fail-fast: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/govmomi-govc-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: ["1.21"]
go-version: ["1.22"]
platform: ["ubuntu-20.04"]
cmd: ["govc-test"]
experimental: [false]
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
name: Verify govc docs are up2date
strategy:
matrix:
go-version: ["1.21"]
go-version: ["1.22"]
platform: ["ubuntu-20.04"]
runs-on: ${{ matrix.platform }}
timeout-minutes: 3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/govmomi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: '1.23'

- name: Update version.go
run: |
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/vmware/govmomi

go 1.21
go 1.22

require (
github.com/a8m/tree v0.0.0-20210115125333-10a5fd5b637d
Expand Down

0 comments on commit e6bfadb

Please sign in to comment.