Skip to content

Commit

Permalink
Fix Go version in go.build.yaml
Browse files Browse the repository at this point in the history
From the `actions/setup-go` documentation:

> Due to the peculiarities of YAML parsing, it is recommended to wrap the version in single quotation marks: […]
>
> The recommendation is based on the YAML parser's behavior, which interprets non-wrapped values as numbers and, in the case of version 1.20, trims it down to 1.2, which may not be very obvious.
  • Loading branch information
kdambekalns authored Oct 6, 2023
1 parent 343f104 commit 3a15df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.20
go-version: '1.20'
id: go

- name: Check out code into the Go module directory
Expand Down

0 comments on commit 3a15df7

Please sign in to comment.