From b356eec08d3b1e66d681860a7dc29a8f11d0b06c Mon Sep 17 00:00:00 2001 From: Zhihong Lin Date: Thu, 14 Sep 2023 16:42:58 -0400 Subject: [PATCH] Update workflow file go version to 1.20 --- .github/workflows/PR-build.yml | 2 +- .github/workflows/integration-test.yml | 6 +++--- .github/workflows/otel-fork-replace.yml | 2 +- .github/workflows/test-build.yml | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/PR-build.yml b/.github/workflows/PR-build.yml index fd3c66d975..e2456c3362 100644 --- a/.github/workflows/PR-build.yml +++ b/.github/workflows/PR-build.yml @@ -47,7 +47,7 @@ jobs: if: needs.changes.outputs.lint == 'true' uses: actions/setup-go@v4 with: - go-version: ~1.19.6 + go-version: "1.20" cache: false - name: Check out code diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 782c315151..5e02fe39a0 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -76,7 +76,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: ~1.19.6 + go-version: "1.20" - name: Generate matrix id: set-matrix @@ -129,7 +129,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v2 with: - go-version: ~1.19.2 + go-version: "1.20" - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2 @@ -327,7 +327,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: ~1.19.6 + go-version: "1.20" - name: SetOutputs id: set-outputs diff --git a/.github/workflows/otel-fork-replace.yml b/.github/workflows/otel-fork-replace.yml index 34a5360094..9cb75b97df 100644 --- a/.github/workflows/otel-fork-replace.yml +++ b/.github/workflows/otel-fork-replace.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: ~1.19.6 + go-version: "1.20" cache: false - name: Update OTel fork components version id: set-matrix diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index c5785b5147..a31e0d21a1 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -63,7 +63,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: ~1.19.6 + go-version: "1.20" cache: false - name: Install rpm @@ -161,7 +161,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: ~1.19.6 + go-version: "1.20" - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2 @@ -226,7 +226,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@v4 with: - go-version: ~1.19.6 + go-version: "1.20" - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2