Use string values for go-version (#1534)
This commit is contained in:
1 parent
a51462dcb9
commit
f13325f78d
2 files changed
+4
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user