From efcde80ec6231a2e269691bdedba449d19b078d2 Mon Sep 17 00:00:00 2001 From: Barun Acharya Date: Sun, 28 May 2023 09:35:44 +0530 Subject: [PATCH] fix(ci): set go-version to 1.20 in YAML (#325) --- .github/workflows/ci-ginkgo-test.yml | 2 +- .github/workflows/ci-go.yml | 8 ++++---- .github/workflows/release.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-ginkgo-test.yml b/.github/workflows/ci-ginkgo-test.yml index 732fa640..6189495d 100644 --- a/.github/workflows/ci-ginkgo-test.yml +++ b/.github/workflows/ci-ginkgo-test.yml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: v1.20 + go-version: "v1.20" - name: Create k8s Kind Cluster uses: helm/kind-action@v1.3.0 - name: Test connectivity diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index 39783f92..48bd3c5b 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-go@v2 with: - go-version: v1.20 + go-version: "v1.20" - name: Build karmor run: make @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-go@v2 with: - go-version: v1.20 + go-version: "v1.20" - name: Check gofmt run: make gofmt @@ -41,7 +41,7 @@ jobs: - uses: actions/setup-go@v2 with: - go-version: v1.20 + go-version: "v1.20" - name: Run Gosec Security Scanner run: make gosec @@ -65,7 +65,7 @@ jobs: - uses: actions/setup-go@v2 with: - go-version: v1.20 + go-version: "v1.20" - name: Run unit tests run: make test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9cc3e73d..57bb9d78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.20 + go-version: "1.20" - name: Install Cosign uses: sigstore/cosign-installer@main