Skip to content

Commit

Permalink
build: bump setup-golang action version to v2 (#19568)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig authored Jan 2, 2024
1 parent 0973144 commit 23e5ffb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 23e5ffb

Please sign in to comment.