From 69bf8ec51ed3572612716dafc51d1552e9c1beca Mon Sep 17 00:00:00 2001 From: SHA2048 <53488697+SHA65536@users.noreply.github.com> Date: Fri, 21 Apr 2023 16:38:05 +0300 Subject: [PATCH] Changing number to string in example yaml This example shows supplying go-version as a number 1.15, this works for version up to 1.19, but with 1.20, it will turn it into a number (1.2) and then back into a string "1.2" making the action use Go 1.2 instead of 1.20. --- .../automating-builds-and-tests/building-and-testing-go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/automating-builds-and-tests/building-and-testing-go.md b/content/actions/automating-builds-and-tests/building-and-testing-go.md index ea21771159e9..90b12d7b5fb4 100644 --- a/content/actions/automating-builds-and-tests/building-and-testing-go.md +++ b/content/actions/automating-builds-and-tests/building-and-testing-go.md @@ -51,7 +51,7 @@ jobs: - name: Set up Go uses: {% data reusables.actions.action-setup-go %} with: - go-version: 1.15 + go-version: '1.15' - name: Build run: go build -v ./...