From 1e20adebe6b01b114b4c22455f47d026d140a3cf Mon Sep 17 00:00:00 2001 From: Neo2308 Date: Mon, 28 Aug 2023 00:21:10 +0530 Subject: [PATCH] Fix go version in github workflows * Wrap in go version in quotes in github workflows to prevent implicit shortening to 1.2 Signed-off-by: Neo2308 --- .github/workflows/deploy.yml | 2 +- .github/workflows/integration.yml | 2 +- .github/workflows/test-ansible.yml | 4 ++-- .github/workflows/test-go.yml | 2 +- .github/workflows/test-helm.yml | 2 +- .github/workflows/test-sample-go.yml | 2 +- .github/workflows/test-sanity.yml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 240635c8fce..c9ecce2902e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,7 +46,7 @@ jobs: - name: install uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: '1.20' - name: gpg init if: ${{ github.event_name != 'pull_request' }} diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 2a6aa9a65bb..b21bd76bc7f 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: '1.20' - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/test-ansible.yml b/.github/workflows/test-ansible.yml index b7330fe539b..7fafdb1cdd4 100644 --- a/.github/workflows/test-ansible.yml +++ b/.github/workflows/test-ansible.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: '1.20' - uses: actions/checkout@v3 with: fetch-depth: 0 @@ -43,7 +43,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: '1.20' - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/test-go.yml b/.github/workflows/test-go.yml index 8fa885f9e90..95b5f5c11d2 100644 --- a/.github/workflows/test-go.yml +++ b/.github/workflows/test-go.yml @@ -46,7 +46,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: '1.20' - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/test-helm.yml b/.github/workflows/test-helm.yml index 411594bb183..81817939220 100644 --- a/.github/workflows/test-helm.yml +++ b/.github/workflows/test-helm.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: '1.20' - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/test-sample-go.yml b/.github/workflows/test-sample-go.yml index 6c72a4e3b66..b12238d5899 100644 --- a/.github/workflows/test-sample-go.yml +++ b/.github/workflows/test-sample-go.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: '1.20' - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/.github/workflows/test-sanity.yml b/.github/workflows/test-sanity.yml index f203110e1ee..c61362e6caf 100644 --- a/.github/workflows/test-sanity.yml +++ b/.github/workflows/test-sanity.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: 1.20 + go-version: '1.20' id: go - uses: actions/checkout@v3 with: