Skip to content

Commit

Permalink
fix: github actions upgrade (#1297)
Browse files Browse the repository at this point in the history
Co-authored-by: eeaton <[email protected]>
  • Loading branch information
lpezet and eeaton authored Aug 2, 2024
1 parent de802a3 commit 8783ef8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions build/github-tf-apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,20 @@ jobs:
id-token: 'write'

steps:
- uses: 'actions/checkout@v3'
- uses: 'actions/checkout@v4'

- id: 'auth'
uses: 'google-github-actions/auth@v1'
uses: 'google-github-actions/auth@v2'
with:
token_format: 'access_token'
workload_identity_provider: ${{ secrets.WIF_PROVIDER_NAME }}
service_account: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}

- uses: 'google-github-actions/setup-gcloud@v1'
- uses: 'google-github-actions/setup-gcloud@v2'
with:
install_components: "beta,terraform-tools"

- uses: 'hashicorp/setup-terraform@v2'
- uses: 'hashicorp/setup-terraform@v3'
with:
terraform_version: '1.5.7'

Expand Down
8 changes: 4 additions & 4 deletions build/github-tf-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@ jobs:
pull-requests: "write"

steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"

- id: "auth"
uses: "google-github-actions/auth@v1"
uses: "google-github-actions/auth@v2"
with:
token_format: "access_token"
workload_identity_provider: ${{ secrets.WIF_PROVIDER_NAME }}
service_account: ${{ secrets.SERVICE_ACCOUNT_EMAIL }}

- uses: "google-github-actions/setup-gcloud@v1"
- uses: "google-github-actions/setup-gcloud@v2"
with:
install_components: "beta,terraform-tools"

- uses: "hashicorp/setup-terraform@v2"
- uses: "hashicorp/setup-terraform@v3"
with:
terraform_version: "1.5.7"

Expand Down

0 comments on commit 8783ef8

Please sign in to comment.