Skip to content

Commit b5d0edd

Browse files
authored
chore: update gh actions versions (#537)
1 parent 94532b0 commit b5d0edd

File tree

8 files changed

+26
-109
lines changed

8 files changed

+26
-109
lines changed

.github/workflows/bigquery-ded.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
timeout-minutes: 20
1919
env:
20-
GCLOUD_VERSION: 290.0.1
20+
GCLOUD_VERSION: 500.0.0
2121
BQ_PROJECT: ${{ secrets.BQ_PROJECT_CD }}
2222
BQ_REGION: ${{ secrets.BQ_REGION_CD }}
2323
BQ_BUCKET: ${{ secrets.BQ_BUCKET_CD }}
@@ -42,13 +42,13 @@ jobs:
4242
with:
4343
node-version: ${{ env.NODE_VERSION }}
4444
- name: Auth google
45-
uses: google-github-actions/auth@v0
45+
uses: google-github-actions/auth@v2
4646
with:
4747
credentials_json: ${{ secrets.BQCARTOCD_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
4848
project_id: ${{ env.BQ_PROJECT }}
4949
create_credentials_file: true
5050
- name: Setup gcloud
51-
uses: google-github-actions/setup-gcloud@v0
51+
uses: google-github-actions/setup-gcloud@v2
5252
with:
5353
version: ${{ env.GCLOUD_VERSION }}
5454
project_id: ${{ env.BQ_PROJECT }}

.github/workflows/bigquery.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
NODE_VERSION: 14
1919
PYTHON3_VERSION: 3.8.10
2020
VIRTUALENV_VERSION: 20.21.1
21-
GCLOUD_VERSION: 290.0.1
21+
GCLOUD_VERSION: 500.0.0
2222

2323
jobs:
2424

@@ -40,13 +40,13 @@ jobs:
4040
with:
4141
node-version: ${{ env.NODE_VERSION }}
4242
- name: Auth google
43-
uses: google-github-actions/auth@v0
43+
uses: google-github-actions/auth@v2
4444
with:
4545
credentials_json: ${{ secrets.BQCARTOCI_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
4646
project_id: ${{ env.BQ_PROJECT_CI }}
4747
create_credentials_file: true
4848
- name: Setup gcloud
49-
uses: google-github-actions/setup-gcloud@v0
49+
uses: google-github-actions/setup-gcloud@v2
5050
with:
5151
version: ${{ env.GCLOUD_VERSION }}
5252
project_id: ${{ env.BQ_PROJECT_CI }}
@@ -85,13 +85,13 @@ jobs:
8585
- name: Check diff
8686
uses: technote-space/get-diff-action@v4
8787
- name: Auth google
88-
uses: google-github-actions/auth@v0
88+
uses: google-github-actions/auth@v2
8989
with:
9090
credentials_json: ${{ secrets.BQCARTOCD_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
9191
project_id: ${{ env.BQ_PROJECT }}
9292
create_credentials_file: true
9393
- name: Setup gcloud
94-
uses: google-github-actions/setup-gcloud@v0
94+
uses: google-github-actions/setup-gcloud@v2
9595
with:
9696
version: ${{ env.GCLOUD_VERSION }}
9797
project_id: ${{ env.BQ_PROJECT }}
@@ -130,13 +130,13 @@ jobs:
130130
- name: Check diff
131131
uses: technote-space/get-diff-action@v4
132132
- name: Auth google
133-
uses: google-github-actions/auth@v0
133+
uses: google-github-actions/auth@v2
134134
with:
135135
credentials_json: ${{ secrets.BQCARTO_DEPLOY_CLOUD_EXTENSIONS_SA_BASE64 }}
136136
project_id: ${{ matrix.project }}
137137
create_credentials_file: true
138138
- name: Setup gcloud
139-
uses: google-github-actions/setup-gcloud@v0
139+
uses: google-github-actions/setup-gcloud@v2
140140
with:
141141
version: ${{ env.GCLOUD_VERSION }}
142142
project_id: ${{ matrix.project }}
@@ -157,13 +157,13 @@ jobs:
157157
- name: Checkout repo
158158
uses: actions/checkout@v2
159159
- name: Auth google
160-
uses: google-github-actions/auth@v0
160+
uses: google-github-actions/auth@v2
161161
with:
162162
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
163163
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
164164
create_credentials_file: true
165165
- name: Setup gcloud
166-
uses: google-github-actions/setup-gcloud@v0
166+
uses: google-github-actions/setup-gcloud@v2
167167
with:
168168
version: ${{ env.GCLOUD_VERSION }}
169169
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

.github/workflows/databricks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
env:
1818
PYTHON3_VERSION: 3.8.11
1919
VIRTUALENV_VERSION: 20.21.1
20-
GCLOUD_VERSION: 290.0.1
20+
GCLOUD_VERSION: 500.0.0
2121
GOOGLE_SECRET_MANAGER_PROJECT: ${{ secrets.GOOGLE_SECRET_MANAGER_PROJECT }}
2222

2323
jobs:
@@ -35,7 +35,7 @@ jobs:
3535
- name: Checkout repo
3636
uses: actions/checkout@v3
3737
- name: Auth google
38-
uses: google-github-actions/auth@v0
38+
uses: google-github-actions/auth@v2
3939
with:
4040
credentials_json: ${{ secrets.CARTODB_ON_GCP_TERRAFORM_CI_CD_SERVICE_ACCOUNT_KEY }}
4141
- name: Get secrets
@@ -87,7 +87,7 @@ jobs:
8787
- name: Checkout repo
8888
uses: actions/checkout@v3
8989
- name: Auth google
90-
uses: google-github-actions/auth@v0
90+
uses: google-github-actions/auth@v2
9191
with:
9292
credentials_json: ${{ secrets.CARTODB_ON_GCP_TERRAFORM_CI_CD_SERVICE_ACCOUNT_KEY }}
9393
- name: Get secrets
@@ -138,13 +138,13 @@ jobs:
138138
- name: Setup virtualenv
139139
run: pip install virtualenv==${{ env.VIRTUALENV_VERSION }}
140140
- name: Auth google
141-
uses: google-github-actions/auth@v0
141+
uses: google-github-actions/auth@v2
142142
with:
143143
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
144144
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
145145
create_credentials_file: true
146146
- name: Setup gcloud
147-
uses: google-github-actions/setup-gcloud@v0
147+
uses: google-github-actions/setup-gcloud@v2
148148
with:
149149
version: ${{ env.GCLOUD_VERSION }}
150150
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

.github/workflows/draft-new-release.yml

Lines changed: 0 additions & 82 deletions
This file was deleted.

.github/workflows/postgres.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
NODE_VERSION: 14
1919
PYTHON3_VERSION: 3.8.10
2020
VIRTUALENV_VERSION: 20.21.1
21-
GCLOUD_VERSION: 290.0.1
21+
GCLOUD_VERSION: 500.0.0
2222

2323
jobs:
2424

@@ -116,13 +116,13 @@ jobs:
116116
- name: Setup virtualenv
117117
run: pip install virtualenv==${{ env.VIRTUALENV_VERSION }}
118118
- name: Auth google
119-
uses: google-github-actions/auth@v0
119+
uses: google-github-actions/auth@v2
120120
with:
121121
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
122122
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
123123
create_credentials_file: true
124124
- name: Setup gcloud
125-
uses: google-github-actions/setup-gcloud@v0
125+
uses: google-github-actions/setup-gcloud@v2
126126
with:
127127
version: ${{ env.GCLOUD_VERSION }}
128128
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

.github/workflows/publish-release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ jobs:
9797
pr_title: Merge release into main branch
9898
pr_body: |
9999
This PR merges the release branch back into main.
100-
This happens to ensure that the updates that happend on the stable branch.
101100
- name: Merge PR if possible
102101
continue-on-error: true
103102
env:

.github/workflows/redshift.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
PYTHON2_VERSION: 2.7.18
2020
PYTHON3_VERSION: 3.8.10
2121
VIRTUALENV_VERSION: 20.15.1
22-
GCLOUD_VERSION: 290.0.1
22+
GCLOUD_VERSION: 500.0.0
2323

2424
jobs:
2525

@@ -169,13 +169,13 @@ jobs:
169169
unzip awscliv2.zip
170170
./aws/install
171171
- name: Auth google
172-
uses: google-github-actions/auth@v0
172+
uses: google-github-actions/auth@v2
173173
with:
174174
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
175175
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
176176
create_credentials_file: true
177177
- name: Setup gcloud
178-
uses: google-github-actions/setup-gcloud@v0
178+
uses: google-github-actions/setup-gcloud@v2
179179
with:
180180
version: ${{ env.GCLOUD_VERSION }}
181181
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

.github/workflows/snowflake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
NODE_VERSION: 18.16
1919
PYTHON3_VERSION: 3.8.18
2020
VIRTUALENV_VERSION: 20.21.1
21-
GCLOUD_VERSION: 290.0.1
21+
GCLOUD_VERSION: 500.0.0
2222

2323
jobs:
2424

@@ -195,13 +195,13 @@ jobs:
195195
with:
196196
node-version: ${{ env.NODE_VERSION }}
197197
- name: Auth google
198-
uses: google-github-actions/auth@v0
198+
uses: google-github-actions/auth@v2
199199
with:
200200
credentials_json: ${{ secrets.GCLOUD_PRODUCTION_RELEASE_SA }}
201201
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}
202202
create_credentials_file: true
203203
- name: Setup gcloud
204-
uses: google-github-actions/setup-gcloud@v0
204+
uses: google-github-actions/setup-gcloud@v2
205205
with:
206206
version: ${{ env.GCLOUD_VERSION }}
207207
project_id: ${{ secrets.GCLOUD_PRODUCTION_PROJECT }}

0 commit comments

Comments
 (0)