Skip to content

Commit db7edbf

Browse files
author
Michael Gasch
committed
chore: Update workflow Go versions
Uses Go 1.17 for build-related steps and matrix 1.16 and 1.17 for tests (see vmware#2674) Closes: vmware#2679 Signed-off-by: Michael Gasch <[email protected]>
1 parent c9cb604 commit db7edbf

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

.github/workflows/govmomi-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Set up Go
4343
uses: actions/setup-go@v2
4444
with:
45-
go-version: 1.16
45+
go-version: 1.17
4646

4747
- name: Create CHANGELOG
4848
env:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
timeout-minutes: 10
3030

3131
steps:
32-
- name: Set up Go 1.15.x
32+
- name: Set up Go 1.17.x
3333
uses: actions/setup-go@v2
3434
with:
35-
go-version: 1.15.x
35+
go-version: 1.17.x
3636
id: go
3737

3838
- name: Check out code

.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.15", "1.16"]
29+
go-version: ["1.16", "1.17"]
3030
platform: ["ubuntu-latest"]
3131

3232
runs-on: ${{ matrix.platform }}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ jobs:
2626
name: Run govc Tests
2727
strategy:
2828
matrix:
29-
go-version: ["1.15", "1.16"]
29+
go-version: ["1.16", "1.17"]
3030
platform: ["ubuntu-18.04"]
3131
cmd: ["govc-test"]
3232
experimental: [false]
3333
timeout: [10]
3434
include:
35-
- go-version: "1.15"
35+
- go-version: "1.16"
3636
platform: "ubuntu-18.04"
3737
cmd: "govc-test-sso"
3838
experimental: true
3939
timeout: 3
40-
- go-version: "1.15"
40+
- go-version: "1.16"
4141
platform: "ubuntu-18.04"
4242
cmd: "govc-test-sso-assert-cert"
4343
experimental: true
@@ -64,7 +64,7 @@ jobs:
6464
name: Verify govc docs are up2date
6565
strategy:
6666
matrix:
67-
go-version: ["1.16"]
67+
go-version: ["1.17"]
6868
platform: ["ubuntu-18.04"]
6969
runs-on: ${{ matrix.platform }}
7070
timeout-minutes: 3

.github/workflows/govmomi-release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
with:
3535
fetch-depth: 0 # for CHANGELOG
3636

37+
- name: Set up Go
38+
uses: actions/setup-go@v2
39+
with:
40+
go-version: 1.17
41+
3742
- name: Create RELEASE CHANGELOG
3843
env:
3944
IMAGE: quay.io/git-chglog/git-chglog

0 commit comments

Comments
 (0)