From 1dee6037e06eac7a24fa894a2cd79a853090d10e Mon Sep 17 00:00:00 2001 From: Paul Vaughan Date: Wed, 8 Feb 2023 09:40:12 +0000 Subject: [PATCH] Update README.md I recently came across a bug where specifying `go-version: '1.20'` used Go 1.2, not 1.20. It was not clear from the readme that to avoid this, the Go version should be written inside single quotes (as per this comment: https://github.com/actions/setup-go/issues/326#issuecomment-1415719692) but the single quotes are missing from the example in this repository. This PR fixes this. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4f1a3a1..e93fedc 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: '1.17' - uses: actions/checkout@v3 - name: golangci-lint uses: golangci/golangci-lint-action@v3