Skip to content

Commit 27d999d

Browse files
chore: update action versions for node24 (#17462)
Addressing warning in recent CI runs: >Warning: Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
1 parent 3d8d582 commit 27d999d

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/django-spanner-django5.2_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
outputs:
2222
run_django_spanner: ${{ steps.filter.outputs.django_spanner }}
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525
- uses: dorny/paths-filter@v3
2626
id: filter
2727
with:
@@ -68,9 +68,9 @@ jobs:
6868

6969
steps:
7070
- name: Checkout code
71-
uses: actions/checkout@v4
71+
uses: actions/checkout@v6
7272
- name: Setup Python
73-
uses: actions/setup-python@v5
73+
uses: actions/setup-python@v6
7474
with:
7575
python-version: "3.10"
7676
- name: Run Django tests

.github/workflows/unittest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
python: ['3.9', '3.10', "3.11", "3.12", "3.13", "3.14"]
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v6
2424
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
2525
# See https://github.com/googleapis/google-cloud-python/issues/12013
2626
# and https://github.com/actions/checkout#checkout-head.
2727
with:
2828
fetch-depth: 2
2929
- name: Setup Python
30-
uses: actions/setup-python@v5
30+
uses: actions/setup-python@v6
3131
with:
3232
python-version: ${{ matrix.python }}
3333
- name: Install nox
@@ -79,7 +79,7 @@ jobs:
7979
python -m pip install coverage
8080
- name: Download coverage results
8181
if: ${{ steps.packages.outputs.num_files_changed > 0 }}
82-
uses: actions/download-artifact@v4
82+
uses: actions/download-artifact@v5
8383
with:
8484
path: .coverage-results/
8585
- name: Report coverage results

packages/google-cloud-firestore/tests/unit/v1/test_query_profile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ def test_explain_metrics__from_pb_empty():
9696

9797
def test_explain_metrics_execution_stats():
9898
"""
99-
Standard ExplainMetrics class should raise exception when execution_stats is accessed.
100-
_ExplainAnalyzeMetrics should include the field
99+
Standard ExplainMetrics class should raise exception when execution_stats
100+
is accessed. _ExplainAnalyzeMetrics should include the field
101101
"""
102102
from google.cloud.firestore_v1.query_profile import (
103103
ExplainMetrics,

0 commit comments

Comments
 (0)