Skip to content

Commit 2daa46b

Browse files
committed
Upgrade cache actions to Node 24
1 parent 8fa7b32 commit 2daa46b

4 files changed

Lines changed: 8 additions & 14 deletions

File tree

.github/workflows/monthly_advisory_review.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ on:
5050
schedule:
5151
- cron: "20 13 1 * *"
5252

53-
env:
54-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
5553

5654
jobs:
5755
build-monthly-review:
@@ -78,7 +76,7 @@ jobs:
7876
working-directory: advisor
7977
run: python -m pip install -e .
8078
- name: Restore market data cache
81-
uses: actions/cache/restore@v4
79+
uses: actions/cache/restore@v5
8280
continue-on-error: true
8381
with:
8482
path: advisor/.cache/market-data
@@ -130,7 +128,7 @@ jobs:
130128
python scripts/build_advisory_artifacts.py "${ARGS[@]}"
131129
- name: Save market data cache
132130
if: ${{ success() }}
133-
uses: actions/cache/save@v4
131+
uses: actions/cache/save@v5
134132
continue-on-error: true
135133
with:
136134
path: advisor/.cache/market-data

.github/workflows/publish_advisory_site.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ permissions:
5555
pages: write
5656
id-token: write
5757

58-
env:
59-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
6058

6159
jobs:
6260
build-site:
@@ -86,7 +84,7 @@ jobs:
8684
working-directory: advisor
8785
run: python -m pip install -e .
8886
- name: Restore market data cache
89-
uses: actions/cache/restore@v4
87+
uses: actions/cache/restore@v5
9088
continue-on-error: true
9189
with:
9290
path: advisor/.cache/market-data
@@ -139,7 +137,7 @@ jobs:
139137
python scripts/build_advisory_artifacts.py "${ARGS[@]}"
140138
- name: Save market data cache
141139
if: ${{ success() }}
142-
uses: actions/cache/save@v4
140+
uses: actions/cache/save@v5
143141
continue-on-error: true
144142
with:
145143
path: advisor/.cache/market-data

.github/workflows/weekly_advisory_review.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ on:
4545
schedule:
4646
- cron: "30 12 * * 6"
4747

48-
env:
49-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
5048

5149
jobs:
5250
build-review:
@@ -73,7 +71,7 @@ jobs:
7371
working-directory: advisor
7472
run: python -m pip install -e .
7573
- name: Restore market data cache
76-
uses: actions/cache/restore@v4
74+
uses: actions/cache/restore@v5
7775
continue-on-error: true
7876
with:
7977
path: advisor/.cache/market-data
@@ -120,7 +118,7 @@ jobs:
120118
python scripts/build_advisory_artifacts.py "${ARGS[@]}"
121119
- name: Save market data cache
122120
if: ${{ success() }}
123-
uses: actions/cache/save@v4
121+
uses: actions/cache/save@v5
124122
continue-on-error: true
125123
with:
126124
path: advisor/.cache/market-data

tests/test_workflow_defaults.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def test_public_workflows_default_to_live_event_inputs() -> None:
2020
assert "scripts/build_market_confirmation.py" not in text
2121
assert "market_data_proxy_urls" in text
2222
assert "MARKET_DATA_PROXY_POOL_URL" in text
23-
assert "actions/cache/restore@v4" in text
24-
assert "actions/cache/save@v4" in text
23+
assert "actions/cache/restore@v5" in text
24+
assert "actions/cache/save@v5" in text
2525
assert "--market-cache-dir .cache/market-data" in text
2626
assert "--recommendation-review" in text
2727

0 commit comments

Comments
 (0)