Skip to content

Commit ec287e3

Browse files
authored
Upgrade actions to use Node.js v20 (rust-lang#1863)
1 parent 3329715 commit ec287e3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,21 @@ jobs:
2222
BASE_SHA: ${{ github.event.pull_request.base.sha }}
2323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
with:
2727
# linkcheck needs the base commit.
2828
fetch-depth: 0
2929

3030
- name: Cache binaries
3131
id: mdbook-cache
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: |
3535
~/.cargo/bin
3636
key: ${{ runner.os }}-${{ env.MDBOOK_VERSION }}--${{ env.MDBOOK_LINKCHECK_VERSION }}--${{ env.MDBOOK_TOC_VERSION }}--${{ env.MDBOOK_MERMAID_VERSION }}
3737

3838
- name: Cache linkcheck
39-
uses: actions/cache@v3
39+
uses: actions/cache@v4
4040
with:
4141
path: |
4242
~/book/linkcheck

.github/workflows/date-check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: Checkout repo
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Ensure Rust is up-to-date
2121
run: |
@@ -27,7 +27,7 @@ jobs:
2727
cargo run -- ../../src/ > ../../date-check-output.txt
2828
2929
- name: Open issue
30-
uses: actions/github-script@v6
30+
uses: actions/github-script@v7
3131
with:
3232
script: |
3333
const fs = require('fs');

0 commit comments

Comments
 (0)