Use string values for go-version (#1534)

This commit is contained in:
Joe Lim authored and GitHub committed 2023-12-26 15:42:08 +01:00
1 parent a51462dcb9
commit f13325f78d
2 files changed
+4 -4

No files matched your search

+3 -3
View File
@@ -21,7 +21,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: "1.18"
- name: Build
run: go build -v ./...
@@ -44,7 +44,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: "1.18"
- name: Cross-compile on all supported platforms
run: gen/xbuild.sh
@@ -59,7 +59,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: "1.19"
- name: Test `go fmt && go generate` on Go 1.19 creates no diffs
run: go fmt && go generate && git diff --exit-code
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.18
go-version: "1.18"
- name: Build
run: gen/xbuild.sh