1313 type : boolean
1414
1515env :
16- ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION : true
1716 PROJECT_ID : policyengine-household-api
1817 REGION : us-central1
1918 IMAGE_NAME : us-central1-docker.pkg.dev/policyengine-household-api/policyengine-household-api/policyengine-household-api
@@ -36,19 +35,21 @@ jobs:
3635
3736 steps :
3837 - name : Checkout code
39- uses : actions/checkout@v4
38+ uses : actions/checkout@v6
4039
4140 - name : Set up Python
42- uses : actions/setup-python@v4
41+ uses : actions/setup-python@v6
4342 with :
4443 python-version : ${{ env.PYTHON_VERSION }}
4544
45+ - name : Authenticate to Google Cloud
46+ uses : google-github-actions/auth@v3
47+ with :
48+ credentials_json : ${{ secrets.GCP_SA_KEY }}
4649 - name : Set up Cloud SDK
47- uses : google-github-actions/setup-gcloud@v2
50+ uses : google-github-actions/setup-gcloud@v3
4851 with :
4952 project_id : ${{ env.PROJECT_ID }}
50- service_account_key : ${{ secrets.GCP_SA_KEY }}
51- export_default_credentials : true
5253
5354 - name : Install dependencies
5455 run : make install
@@ -85,41 +86,37 @@ jobs:
8586
8687 steps :
8788 - name : Checkout code
88- uses : actions/checkout@v4
89-
89+ uses : actions/checkout@v6
9090 - name : Authenticate to Google Cloud
91- uses : google-github-actions/auth@v2
91+ uses : google-github-actions/auth@v3
9292 with :
9393 credentials_json : ${{ secrets.GCP_SA_KEY }}
94-
9594 - name : Set up Cloud SDK
96- uses : google-github-actions/setup-gcloud@v2
95+ uses : google-github-actions/setup-gcloud@v3
9796 with :
9897 project_id : ${{ env.PROJECT_ID }}
99- service_account_key : ${{ secrets.GCP_SA_KEY }}
100- export_default_credentials : true
10198
10299 - name : Log in to Google Artifact Registry
103- uses : docker/login-action@v2
100+ uses : docker/login-action@v4
104101 with :
105102 registry : us-central1-docker.pkg.dev
106103 username : _json_key
107104 password : ${{ secrets.GCP_SA_KEY }}
108105
109106 - name : Log in to GitHub Container Registry
110107 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
111- uses : docker/login-action@v2
108+ uses : docker/login-action@v4
112109 with :
113110 registry : ghcr.io
114111 username : ${{ github.actor }}
115112 password : ${{ secrets.GITHUB_TOKEN }}
116113
117114 - name : Set up Docker Buildx
118- uses : docker/setup-buildx-action@v3
115+ uses : docker/setup-buildx-action@v4
119116
120117 - name : Extract deploy image metadata
121118 id : deploy-meta
122- uses : docker/metadata-action@v5
119+ uses : docker/metadata-action@v6
123120 with :
124121 images : ${{ env.IMAGE_NAME }}
125122 tags : |
@@ -128,15 +125,15 @@ jobs:
128125 - name : Extract GHCR image metadata
129126 id : ghcr-meta
130127 if : github.event_name == 'push' && github.ref == 'refs/heads/main'
131- uses : docker/metadata-action@v5
128+ uses : docker/metadata-action@v6
132129 with :
133130 images : ghcr.io/${{ github.repository }}
134131 tags : |
135132 type=sha,format=long,prefix=,suffix=
136133 type=raw,value=latest
137134
138135 - name : Build and push Docker image
139- uses : docker/build-push-action@v5
136+ uses : docker/build-push-action@v7
140137 with :
141138 context : .
142139 file : ./gcp/policyengine_household_api/Dockerfile.production
@@ -174,10 +171,10 @@ jobs:
174171
175172 steps :
176173 - name : Checkout code
177- uses : actions/checkout@v4
174+ uses : actions/checkout@v6
178175
179176 - name : Authenticate to Google Cloud
180- uses : google-github-actions/auth@v2
177+ uses : google-github-actions/auth@v3
181178 with :
182179 credentials_json : ${{ secrets.GCP_SA_KEY }}
183180
@@ -214,15 +211,15 @@ jobs:
214211
215212 steps :
216213 - name : Checkout code
217- uses : actions/checkout@v4
214+ uses : actions/checkout@v6
218215
219216 - name : Set up Python
220- uses : actions/setup-python@v5
217+ uses : actions/setup-python@v6
221218 with :
222219 python-version : ${{ env.PYTHON_VERSION }}
223220
224221 - name : Install uv
225- uses : astral-sh/setup-uv@v5
222+ uses : astral-sh/setup-uv@v8.1.0
226223 with :
227224 version : " 0.8.5"
228225
@@ -256,10 +253,10 @@ jobs:
256253
257254 steps :
258255 - name : Checkout code
259- uses : actions/checkout@v4
256+ uses : actions/checkout@v6
260257
261258 - name : Authenticate to Google Cloud
262- uses : google-github-actions/auth@v2
259+ uses : google-github-actions/auth@v3
263260 with :
264261 credentials_json : ${{ secrets.GCP_SA_KEY }}
265262
@@ -285,10 +282,10 @@ jobs:
285282
286283 steps :
287284 - name : Checkout code
288- uses : actions/checkout@v4
285+ uses : actions/checkout@v6
289286
290287 - name : Authenticate to Google Cloud
291- uses : google-github-actions/auth@v2
288+ uses : google-github-actions/auth@v3
292289 with :
293290 credentials_json : ${{ secrets.GCP_SA_KEY }}
294291
@@ -315,10 +312,10 @@ jobs:
315312
316313 steps :
317314 - name : Checkout code
318- uses : actions/checkout@v4
315+ uses : actions/checkout@v6
319316
320317 - name : Authenticate to Google Cloud
321- uses : google-github-actions/auth@v2
318+ uses : google-github-actions/auth@v3
322319 with :
323320 credentials_json : ${{ secrets.GCP_SA_KEY }}
324321
@@ -362,15 +359,15 @@ jobs:
362359
363360 steps :
364361 - name : Checkout code
365- uses : actions/checkout@v4
362+ uses : actions/checkout@v6
366363
367364 - name : Set up Python
368- uses : actions/setup-python@v5
365+ uses : actions/setup-python@v6
369366 with :
370367 python-version : ${{ env.PYTHON_VERSION }}
371368
372369 - name : Install uv
373- uses : astral-sh/setup-uv@v5
370+ uses : astral-sh/setup-uv@v8.1.0
374371 with :
375372 version : " 0.8.5"
376373
@@ -393,12 +390,12 @@ jobs:
393390
394391 steps :
395392 - name : Checkout code
396- uses : actions/checkout@v4
393+ uses : actions/checkout@v6
397394 with :
398395 fetch-depth : 0
399396
400397 - name : Set up Python
401- uses : actions/setup-python@v5
398+ uses : actions/setup-python@v6
402399 with :
403400 python-version : ${{ env.PYTHON_VERSION }}
404401
0 commit comments