From c4a2eef8a42a1dc940c644d472dd79aa9d82970b Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Thu, 9 Feb 2023 12:00:14 -0500 Subject: [PATCH] Fix go 1.20 version in github actions (#848) YAML interprets 1.20 as 1.2 without explicitely being a string. --- .github/workflows/coverage.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4d78d80..024ec09 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -15,6 +15,6 @@ jobs: - name: Setup go uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: "1.20" - name: Run tests with coverage run: ./ci.sh coverage -d "${GITHUB_BASE_REF-HEAD}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d6f45c..04dc763 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: "1.20" - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: