Skip to content

Commit

Permalink
Update GHA workflows to use Go 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench committed Mar 12, 2024
1 parent f022b5d commit ce4773b
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .ci/magician/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module magician

go 1.20
go 1.21

replace github.com/GoogleCloudPlatform/magic-modules/tools/issue-labeler => ../../tools/issue-labeler

Expand Down
2 changes: 1 addition & 1 deletion .ci/unit-tests/gcb-membership-checker-test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
steps:
- name: 'golang:1.20'
- name: 'golang:1.21'
args:
- '-c'
- |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.20'
go-version: '^1.21'

# Cache Go modules
- name: Cache Go modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/request-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '^1.20'
go-version: '^1.21'
# Disable caching for now due to issues with large provider dependency caches
cache: false
- name: Build magician
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/teamcity-services-diff-check-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.20'
go-version: '^1.21'

- name: Download built artifacts - GA provider
uses: actions/download-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/teamcity-services-diff-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '^1.20'
go-version: '^1.21'

- name: Download built artifacts - GA provider
uses: actions/download-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-tgc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
if: ${{ !failure() && steps.pull_request.outputs.has_changes == 'true' }}
uses: actions/setup-go@v4
with:
go-version: '^1.20'
go-version: '^1.21'
- name: Build Terraform Google Conversion
if: ${{ !failure() && steps.pull_request.outputs.has_changes == 'true' }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-tpg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
if: ${{ !failure() && steps.pull_request.outputs.has_changes == 'true' }}
uses: actions/setup-go@v4
with:
go-version: '^1.20'
go-version: '^1.21'
- name: Build Provider
if: ${{ !failure() && steps.pull_request.outputs.has_changes == 'true' }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test-tgc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.20'
go-version: '^1.21'

- name: Cache Go modules and build cache
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test-tpg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.20'
go-version: '^1.21'

- name: Build Provider
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests-diff-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.20.1'
go-version: '^1.21.0'

- name: Build
run: |
Expand Down

0 comments on commit ce4773b

Please sign in to comment.