Skip to content

Commit 3c82bfa

Browse files
ci: use go.mod to get go version
1 parent 53e67b1 commit 3c82bfa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Go
3434
uses: actions/setup-go@v3
3535
with:
36-
go-version: 1.21.x
36+
go-version-file: 'go.mod'
3737

3838
- name: Build
3939
run: |

.github/workflows/testacc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Set up Go
3535
uses: actions/setup-go@v3
3636
with:
37-
go-version: 1.21.x
37+
go-version-file: 'go.mod'
3838
- name: Wait Cloudstack to be ready
3939
run: |
4040
echo "Starting Cloudstack health check"

0 commit comments

Comments
 (0)