Skip to content

Commit 81e5c55

Browse files
ci: use go.mod to get go version
1 parent fd0731e commit 81e5c55

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
@@ -35,7 +35,7 @@ jobs:
3535
- name: Set up Go
3636
uses: actions/setup-go@v3
3737
with:
38-
go-version: 1.21.x
38+
go-version-file: 'go.mod'
3939

4040
- name: Build
4141
run: |

.github/workflows/testacc.yml

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

0 commit comments

Comments
 (0)