Skip to content

Commit 9a9a973

Browse files
committed
Update actions/checkout to v6 and set env
Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true to both .github/workflows/ci.yml and .github/workflows/mdbook.yml to force JS actions to run on Node 24. Also bump actions/checkout from v4 to v6 in both workflows to use the updated checkout action for improved compatibility and fixes.
1 parent bcf0dcc commit 9a9a973

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- master
77
pull_request:
88

9+
env:
10+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
11+
912
jobs:
1013
test:
1114
runs-on: ubuntu-latest
@@ -19,7 +22,7 @@ jobs:
1922

2023
steps:
2124
- name: Checkout
22-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2326

2427
- name: Install Rust
2528
uses: dtolnay/rust-toolchain@stable
@@ -38,7 +41,7 @@ jobs:
3841

3942
steps:
4043
- name: Checkout
41-
uses: actions/checkout@v4
44+
uses: actions/checkout@v6
4245

4346
- name: Install mdBook
4447
uses: taiki-e/install-action@mdbook

.github/workflows/mdbook.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
# Allows you to run this workflow manually from the Actions tab
1313
workflow_dispatch:
1414

15+
env:
16+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
17+
1518
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1619
permissions:
1720
contents: read
@@ -31,7 +34,7 @@ jobs:
3134
env:
3235
MDBOOK_VERSION: 0.4.36
3336
steps:
34-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v6
3538
- name: Install mdBook
3639
run: |
3740
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh

0 commit comments

Comments
 (0)