Skip to content

Commit 5f1f240

Browse files
authored
ci: bump actions off deprecated Node 20 (#1691)
GitHub Actions reports that actions/checkout@v4 and peter-evans/create-pull-request@v7 target Node 20, which is deprecated and currently force-run on Node 24. Bump them to versions that natively target Node 24: - actions/checkout v4 -> v5 (the Node 20 -> 24 transition; v6's only notable change is moving credentials to a separate file, unneeded here) - peter-evans/create-pull-request v7 -> v8 (Node 24 bump only; inputs unchanged) The other actions in these workflows were not flagged and already run on Node 24.
1 parent 8281fff commit 5f1f240

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/abi-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: checkout project
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v5
3434

3535
- name: build and install JsonCpp (C++${{ matrix.jsoncpp_std }})
3636
shell: bash

.github/workflows/amalgamate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: checkout project
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

1616
- name: setup python
1717
uses: actions/setup-python@v5

.github/workflows/clang-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- 'example'
1616
- 'include'
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1919
- name: runs clang-format style check for C/C++/Protobuf programs.
2020
uses: jidicula/clang-format-action@v4.13.0
2121
with:

.github/workflows/cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: checkout project
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020

2121
- name: build project
2222
uses: threeal/cmake-action@v2.0.0

.github/workflows/meson.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020

2121
- name: setup python
2222
uses: actions/setup-python@v5
@@ -42,7 +42,7 @@ jobs:
4242

4343
steps:
4444
- name: checkout repository
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v5
4646

4747
- name: setup python
4848
uses: actions/setup-python@v5

.github/workflows/update-project-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
pull-requests: write
2323
steps:
2424
- name: checkout code
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v5
2626

2727
- name: update project files
2828
run: |
@@ -102,7 +102,7 @@ jobs:
102102
fi
103103
104104
- name: create pull request
105-
uses: peter-evans/create-pull-request@v7
105+
uses: peter-evans/create-pull-request@v8
106106
with:
107107
token: ${{ secrets.GITHUB_TOKEN }}
108108
commit-message: "chore: bump version to ${{ github.event.inputs.target_version }}"

0 commit comments

Comments
 (0)