Skip to content

Commit bd5a5ed

Browse files
authored
ci: drop ubuntu-18.04, add ubuntu-22.04 and ubuntu-latest (#603)
add support for ubuntu 22.04, drop ubuntu-18.04 - [starting with 8 of August 2022 support for ubuntu 18.04 is deprecated](https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/) - [ubuntu 22.04 is generally available](https://github.blog/changelog/2022-08-09-github-actions-ubuntu-22-04-is-now-generally-available-on-github-hosted-runners/)
1 parent 46553ea commit bd5a5ed

File tree

10 files changed

+19
-17
lines changed

10 files changed

+19
-17
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
CodeQL-Build:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v3
1414

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
dependency-review:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
steps:
1515
- uses: actions/checkout@v3
1616
- uses: actions/dependency-review-action@v1

.github/workflows/dev-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323

2424
jobs:
2525
dev-image-test:
26-
runs-on: ubuntu-18.04
26+
runs-on: ubuntu-22.04
2727
steps:
2828
- uses: actions/checkout@v3
2929
- run: make build

.github/workflows/label-commenter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
comment:
15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-22.04
1616
steps:
1717
- uses: actions/checkout@v3
1818
with:

.github/workflows/purge-readme-image-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
purge:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-22.04
1010
steps:
1111

1212
- run: >

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-22.04
1111
steps:
1212
- uses: actions/checkout@v3
1313

.github/workflows/test-action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
strategy:
1212
matrix:
1313
os:
14+
- 'ubuntu-22.04'
1415
- 'ubuntu-20.04'
15-
- 'ubuntu-18.04'
16+
- 'ubuntu-latest'
1617
- 'macos-latest'
1718
- 'windows-latest'
1819
hugo-version:

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616
strategy:
1717
matrix:
1818
os:
19+
- 'ubuntu-22.04'
1920
- 'ubuntu-20.04'
20-
- 'ubuntu-18.04'
21+
- 'ubuntu-latest'
2122
- 'macos-latest'
2223
- 'windows-latest'
2324
steps:
@@ -35,15 +36,15 @@ jobs:
3536
- run: npm ci
3637

3738
- name: Run prettier
38-
if: startsWith(matrix.os, 'ubuntu-18.04')
39+
if: startsWith(matrix.os, 'ubuntu-22.04')
3940
run: npm run format:check
4041

4142
- name: Run eslint
42-
if: startsWith(matrix.os, 'ubuntu-18.04')
43+
if: startsWith(matrix.os, 'ubuntu-22.04')
4344
run: npm run lint
4445

4546
- name: Run ncc
46-
if: startsWith(matrix.os, 'ubuntu-18.04')
47+
if: startsWith(matrix.os, 'ubuntu-22.04')
4748
run: npm run build
4849

4950
- run: npm test

.github/workflows/update-major-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
update:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
steps:
1111
- uses: actions/checkout@v3
1212

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ We no longer build or pull a Hugo docker image.
2323
Thanks to this change, we can complete this action in less than a few seconds.
2424
(A docker base action was taking about 1 min or more execution time to build and pull a docker image.)
2525

26-
| OS (runs-on) | ubuntu-18.04, ubuntu-20.04 | macos-latest | windows-2019 |
26+
| OS (runs-on) | ubuntu-latest, ubuntu-20.04, ubuntu-22.04 | macos-latest | windows-2019 |
2727
|---|:---:|:---:|:---:|
2828
| Support | ✅️ | ✅️ | ✅️ |
2929

@@ -80,7 +80,7 @@ on:
8080

8181
jobs:
8282
deploy:
83-
runs-on: ubuntu-20.04
83+
runs-on: ubuntu-22.04
8484
concurrency:
8585
group: ${{ github.workflow }}-${{ github.ref }}
8686
steps:
@@ -245,7 +245,7 @@ on:
245245
246246
jobs:
247247
deploy:
248-
runs-on: ubuntu-20.04
248+
runs-on: ubuntu-22.04
249249
concurrency:
250250
group: ${{ github.workflow }}-${{ github.ref }}
251251
steps:
@@ -300,7 +300,7 @@ on:
300300
301301
jobs:
302302
deploy:
303-
runs-on: ubuntu-20.04
303+
runs-on: ubuntu-22.04
304304
concurrency:
305305
group: ${{ github.workflow }}-${{ github.ref }}
306306
steps:
@@ -352,7 +352,7 @@ on:
352352
353353
jobs:
354354
deploy:
355-
runs-on: ubuntu-20.04
355+
runs-on: ubuntu-22.04
356356
concurrency:
357357
group: ${{ github.workflow }}-${{ github.ref }}
358358
steps:

0 commit comments

Comments
 (0)