Skip to content

Commit 2e0bf2a

Browse files
committed
ci: upgrade actions/setup-node to v4 and actions/setup-python to v5
Upgraded 'actions/setup-node@v3' to 'v4' and 'actions/setup-python@v4' to 'v5' across both GitHub and Gitea workflow files to eliminate Node.js 20 runner deprecation warnings and ensure the pipelines execute on modern runtime bases natively.
1 parent dc5ec01 commit 2e0bf2a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.gitea/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/checkout@v4
4242

4343
- name: Set up Python
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: '3.11'
4747
cache: 'pip'
@@ -77,7 +77,7 @@ jobs:
7777
uses: actions/checkout@v4
7878

7979
- name: Set up Node.js
80-
uses: actions/setup-node@v3
80+
uses: actions/setup-node@v4
8181
with:
8282
node-version: '20'
8383
cache: 'npm'

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/checkout@v4
3636

3737
- name: Set up Python
38-
uses: actions/setup-python@v4
38+
uses: actions/setup-python@v5
3939
with:
4040
python-version: '3.11'
4141
cache: 'pip'
@@ -71,7 +71,7 @@ jobs:
7171
uses: actions/checkout@v4
7272

7373
- name: Set up Node.js
74-
uses: actions/setup-node@v3
74+
uses: actions/setup-node@v4
7575
with:
7676
node-version: '20'
7777
cache: 'npm'

0 commit comments

Comments
 (0)