Skip to content

Commit c40669a

Browse files
authored
CI: Upgrade GitHub actions (#8010)
1 parent 032145a commit c40669a

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ jobs:
8282
git config --system core.longpaths true
8383
8484
- name: Checkout
85-
uses: actions/checkout@v4
85+
uses: actions/checkout@v5
8686

8787
- name: Use Node.js
88-
uses: actions/setup-node@v4
88+
uses: actions/setup-node@v6
8989
with:
9090
cache: yarn
9191
node-version-file: .nvmrc
@@ -181,7 +181,7 @@ jobs:
181181

182182
- name: Get OPAM executable path
183183
if: steps.cache-opam-env.outputs.cache-hit != 'true'
184-
uses: actions/github-script@v7
184+
uses: actions/github-script@v8
185185
with:
186186
script: |
187187
const opamPath = await io.which('opam', true);
@@ -305,13 +305,13 @@ jobs:
305305

306306
- name: Setup Python for ninja build
307307
if: steps.ninja-build-cache.outputs.cache-hit != 'true'
308-
uses: actions/setup-python@v5
308+
uses: actions/setup-python@v6
309309
with:
310310
python-version: "3.13"
311311

312312
- name: Setup MSVC for ninja build (Windows)
313313
if: steps.ninja-build-cache.outputs.cache-hit != 'true' && runner.os == 'Windows'
314-
uses: TheMrMilchmann/setup-msvc-dev@v3
314+
uses: TheMrMilchmann/setup-msvc-dev@v4
315315
with:
316316
arch: x64
317317

@@ -441,14 +441,14 @@ jobs:
441441

442442
- name: "Upload artifacts: binaries"
443443
if: matrix.upload_binaries
444-
uses: actions/upload-artifact@v4
444+
uses: actions/upload-artifact@v5
445445
with:
446446
name: binaries-${{ matrix.node-target }}
447447
path: packages/@rescript/${{ matrix.node-target }}/bin
448448

449449
- name: "Upload artifacts: lib/ocaml"
450450
if: matrix.upload_libs
451-
uses: actions/upload-artifact@v4
451+
uses: actions/upload-artifact@v5
452452
with:
453453
name: lib-ocaml
454454
path: |
@@ -463,7 +463,7 @@ jobs:
463463
- name: "Upload artifacts: scripts/res/apiDocs"
464464
id: upload-api-docs
465465
if: ${{ matrix.generate_api_docs }}
466-
uses: actions/upload-artifact@v4
466+
uses: actions/upload-artifact@v5
467467
with:
468468
name: api
469469
path: scripts/res/apiDocs/
@@ -474,16 +474,16 @@ jobs:
474474
runs-on: ubuntu-24.04-arm
475475
steps:
476476
- name: Checkout
477-
uses: actions/checkout@v4
477+
uses: actions/checkout@v5
478478

479479
- name: Use Node.js
480-
uses: actions/setup-node@v4
480+
uses: actions/setup-node@v6
481481
with:
482482
cache: yarn
483483
node-version-file: .nvmrc
484484

485485
- name: Download artifacts
486-
uses: actions/download-artifact@v4
486+
uses: actions/download-artifact@v6
487487
with:
488488
pattern: "@(binaries-*|lib-ocaml)"
489489

@@ -506,13 +506,13 @@ jobs:
506506
runs-on: ubuntu-24.04-arm
507507
steps:
508508
- name: Checkout rescript-lang.org
509-
uses: actions/checkout@v4
509+
uses: actions/checkout@v5
510510
with:
511511
repository: rescript-lang/rescript-lang.org
512512
ssh-key: ${{ secrets.RESCRIPT_LANG_ORG_DEPLOY_KEY }}
513513

514514
- name: Download artifacts
515-
uses: actions/download-artifact@v4
515+
uses: actions/download-artifact@v6
516516
with:
517517
artifact-ids: ${{ needs.build-compiler.outputs.api-docs-artifact-id }}
518518
path: data
@@ -557,10 +557,10 @@ jobs:
557557
runs-on: ${{ matrix.os }}
558558
steps:
559559
- name: Checkout
560-
uses: actions/checkout@v4
560+
uses: actions/checkout@v5
561561

562562
- name: Use Node.js
563-
uses: actions/setup-node@v4
563+
uses: actions/setup-node@v6
564564
with:
565565
# Run integration tests with the oldest supported node version.
566566
node-version: 20
@@ -611,13 +611,13 @@ jobs:
611611
version: 10
612612

613613
- name: Use Node.js
614-
uses: actions/setup-node@v4
614+
uses: actions/setup-node@v6
615615
with:
616616
# Run integration tests with the oldest supported node version.
617617
node-version: 20
618618

619619
- name: Checkout
620-
uses: actions/checkout@v4
620+
uses: actions/checkout@v5
621621

622622
- name: Make test directory
623623
id: tmp-dir
@@ -659,10 +659,10 @@ jobs:
659659
runs-on: ${{ matrix.os }}
660660
steps:
661661
- name: Checkout
662-
uses: actions/checkout@v4
662+
uses: actions/checkout@v5
663663

664664
- name: Use Node.js
665-
uses: actions/setup-node@v4
665+
uses: actions/setup-node@v6
666666
with:
667667
# Run integration tests with the oldest supported node version.
668668
node-version: 20
@@ -689,17 +689,17 @@ jobs:
689689
runs-on: ubuntu-24.04-arm
690690
steps:
691691
- name: Checkout
692-
uses: actions/checkout@v4
692+
uses: actions/checkout@v5
693693

694694
- name: Use Node.js
695-
uses: actions/setup-node@v4
695+
uses: actions/setup-node@v6
696696
with:
697697
cache: yarn
698698
node-version-file: .nvmrc
699699
registry-url: https://registry.npmjs.org # Needed to make auth work for publishing
700700

701701
- name: Download artifacts
702-
uses: actions/download-artifact@v4
702+
uses: actions/download-artifact@v6
703703
with:
704704
pattern: "@(binaries-*|lib-ocaml)"
705705

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
stale:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/stale@v9
15+
- uses: actions/stale@v10
1616
with:
1717
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
1818
stale-issue-label: stale

0 commit comments

Comments
 (0)