From 23e5ffbfd0faf367506fe1c0101cc4886c48b30a Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Tue, 2 Jan 2024 09:41:50 -0600 Subject: [PATCH] build: bump setup-golang action version to v2 (#19568) --- .github/workflows/checks.yaml | 2 +- .github/workflows/test-core.yaml | 8 ++++---- .github/workflows/test-e2e.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index ccec899e91b..06e43da8d84 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -34,7 +34,7 @@ jobs: - name: Git config token if: endsWith(github.repository, '-enterprise') run: git config --global url.'https://${{ env.ELEVATED_GITHUB_TOKEN }}@github.com'.insteadOf 'https://github.com' - - uses: hashicorp/setup-golang@v1 + - uses: hashicorp/setup-golang@v2 - name: Run make check run: | make missing diff --git a/.github/workflows/test-core.yaml b/.github/workflows/test-core.yaml index 89f2d60c5fe..eeee9ed31c5 100644 --- a/.github/workflows/test-core.yaml +++ b/.github/workflows/test-core.yaml @@ -60,7 +60,7 @@ jobs: - name: Git config token if: endsWith(github.repository, '-enterprise') run: git config --global url.'https://${{ env.ELEVATED_GITHUB_TOKEN }}@github.com'.insteadOf 'https://github.com' - - uses: hashicorp/setup-golang@v1 + - uses: hashicorp/setup-golang@v2 - name: Get Go modules run: | make bootstrap @@ -78,7 +78,7 @@ jobs: timeout-minutes: 20 steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - uses: hashicorp/setup-golang@v1 + - uses: hashicorp/setup-golang@v2 - name: Run make dev run: | make bootstrap @@ -89,7 +89,7 @@ jobs: timeout-minutes: 8 steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - uses: hashicorp/setup-golang@v1 + - uses: hashicorp/setup-golang@v2 - name: Run API tests env: GOTEST_MOD: api @@ -113,7 +113,7 @@ jobs: - quick steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - - uses: hashicorp/setup-golang@v1 + - uses: hashicorp/setup-golang@v2 - name: Run Matrix Tests env: GOTEST_GROUP: ${{matrix.groups}} diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 89ed313ce63..6bfa4d20b99 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -46,7 +46,7 @@ jobs: - name: Git config token if: endsWith(github.repository, '-enterprise') run: git config --global url.'https://${{ env.ELEVATED_GITHUB_TOKEN }}@github.com'.insteadOf 'https://github.com' - - uses: hashicorp/setup-golang@v1 + - uses: hashicorp/setup-golang@v2 - run: make deps - name: Vault Compatability run: make integration-test @@ -59,7 +59,7 @@ jobs: - name: Git config token if: endsWith(github.repository, '-enterprise') run: git config --global url.'https://${{ secrets.ELEVATED_GITHUB_TOKEN }}@github.com'.insteadOf 'https://github.com' - - uses: hashicorp/setup-golang@v1 + - uses: hashicorp/setup-golang@v2 - name: Consul Compatability run: | make deps