Skip to content

Commit 31b1a58

Browse files
committed
ci: suppress Node 20 deprecation and missing python-version warnings
- Injects `FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true` in all workflows to opt-in to Node.js 24 and suppress the deprecation warnings from multiple GitHub Actions. - Specifies `python-version: '3.x'` for `actions/setup-python@v5` in `meson.yml` to fix the missing input warning.
1 parent 87576c4 commit 31b1a58

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

.github/workflows/clang-format.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: clang-format check
22
on: [check_run, pull_request, push]
33

4+
env:
5+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
6+
47
jobs:
58
formatting-check:
69
name: formatting check

.github/workflows/cmake.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: cmake
22
on: [check_run, push, pull_request]
3+
4+
env:
5+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
6+
37
jobs:
48
cmake-publish:
59
runs-on: ${{ matrix.os }}

.github/workflows/meson.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: meson build and test
22
run-name: update pushed to ${{ github.ref }}
33
on: [check_run, push, pull_request]
44

5+
env:
6+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
7+
58
jobs:
69
meson-publish:
710
runs-on: ${{ matrix.os }}
@@ -17,6 +20,8 @@ jobs:
1720

1821
- name: setup python
1922
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.x'
2025

2126
- name: meson build
2227
uses: BSFishy/meson-build@v1.0.3
@@ -41,6 +46,8 @@ jobs:
4146

4247
- name: setup python
4348
uses: actions/setup-python@v5
49+
with:
50+
python-version: '3.x'
4451

4552
- name: meson build
4653
uses: BSFishy/meson-build@v1.0.3

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
description: 'next soversion (e.g., 28). leave blank to keep current.'
1212
required: false
1313

14+
env:
15+
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
16+
1417
jobs:
1518
bump-and-verify:
1619
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)