Skip to content

Commit afe5f3e

Browse files
ci: update to use ubuntu-latest runners
The commit updates CI to replace usages of `ubuntu-18.04` which is deprecated and soon to be removed, and instead opts to use `ubuntu-latest`. The changes also align `ubuntu-latest` across the repo. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
1 parent be8cb34 commit afe5f3e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
os: [windows-2019, ubuntu-18.04, macos-11]
22+
os: [windows-2019, ubuntu-latest, macos-11]
2323
node: [14.x, 16.x]
2424

2525
runs-on: ${{ matrix.os }}
@@ -105,7 +105,7 @@ jobs:
105105
publish:
106106
needs: build
107107
if: github.ref == 'refs/heads/master' && github.event_name != 'schedule' # We still publish the manually dispatched workflows: 'workflow_dispatch'.
108-
runs-on: ubuntu-18.04
108+
runs-on: ubuntu-latest
109109

110110
# The current approach is silly. We should be smarter and use `actions/upload-artifact` and `actions/download-artifact` instead of rebuilding
111111
# everything from scratch again. (git checkout, Node.js install, yarn, etc.) It was not possible to share artifacts on Travis CI without an

.github/workflows/license-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
os: [ubuntu-18.04]
22+
os: [ubuntu-latest]
2323
node: ['16.x']
2424
java: ['11']
2525

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ on:
1313

1414
jobs:
1515
build-and-test-playwright:
16-
name: ubuntu-18.04, Node.js 16.x
16+
name: ubuntu-latest, Node.js 16.x
1717

18-
runs-on: ubuntu-18.04
18+
runs-on: ubuntu-latest
1919
timeout-minutes: 60
2020

2121
steps:

.github/workflows/set-milestone-on-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
jobs:
2323
set-milestone:
2424
if: github.event.pull_request.merged == true
25-
runs-on: ubuntu-20.04
25+
runs-on: ubuntu-latest
2626
steps:
2727
- name: Checkout code
2828
uses: actions/checkout@v2

0 commit comments

Comments
 (0)