Skip to content

Commit 96781cb

Browse files
authored
Bump workflows, Ubuntu to 24.04 and nodejs to 20 (#2642)
1 parent 7cd785b commit 96781cb

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/action-format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
format:
99
name: 'Format'
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/format')
1212
steps:
1313
- name: 'Post acknowledgement that it will format code'
@@ -67,7 +67,7 @@ jobs:
6767
- name: Use Node.js LTS (16.x)
6868
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
6969
with:
70-
node-version: '16'
70+
node-version: 20
7171

7272
# https://github.com/actions/cache/blob/main/examples.md#node---yarn
7373
- name: Get yarn cache directory path

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
required-files:
1212
name: All required files are present
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.0.0
1616

@@ -41,14 +41,14 @@ jobs:
4141
4242
schema-validation:
4343
name: Schema validation
44-
runs-on: ubuntu-22.04
44+
runs-on: ubuntu-24.04
4545
steps:
4646
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.0.0
4747

4848
- name: Setup nodejs
4949
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
5050
with:
51-
node-version: 16
51+
node-version: 20
5252
cache: "yarn"
5353

5454
- name: Install dependencies
@@ -113,7 +113,7 @@ jobs:
113113

114114
markdown-lint:
115115
name: Lint markdown files
116-
runs-on: ubuntu-22.04
116+
runs-on: ubuntu-24.04
117117
steps:
118118
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.0.0
119119

@@ -143,7 +143,7 @@ jobs:
143143
144144
check-links:
145145
name: Check links
146-
runs-on: ubuntu-latest
146+
runs-on: ubuntu-24.04
147147
steps:
148148
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.0.0
149149

@@ -157,7 +157,7 @@ jobs:
157157

158158
json-lint:
159159
name: Lint json files
160-
runs-on: ubuntu-22.04
160+
runs-on: ubuntu-24.04
161161
steps:
162162
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.0.0
163163

.github/workflows/rebase.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
rebase:
99
name: Rebase
1010
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

.github/workflows/shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
shellcheck:
1212
name: Run shellcheck on scripts
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4.0.0

0 commit comments

Comments
 (0)