Skip to content

Commit

Permalink
ci: make ubuntu versions consistent across workflow file jobs
Browse files Browse the repository at this point in the history
Make Ubuntu versions consistent across workflow file jobs: use
`ubuntu-22.04`.
  • Loading branch information
jhlegarreta committed Sep 29, 2023
1 parent b1289e3 commit eebc633
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:

test-cypress:
name: itk-wasm browser tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push,pull_request]
jobs:
test-node-example:
name: node-js
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ./examples/node-js
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

build-test-hello-pipeline-example:
name: hello-pipeline build test
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

defaults:
run:
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
build-test-inputs-outputs-example:
name: inputs-outputs
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

defaults:
run:
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
test-umd-example:
name: umd
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:

test-webpack-example:
name: webpack
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -266,7 +266,7 @@ jobs:

test-vite-example:
name: vite
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/javascript-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
# Workaround for https://github.com/actions/virtual-environments/issues/709
df -h
sudo apt-get update
sudo apt-get remove -y '^aspnet-.*'
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: pull_request

jobs:
pr-checks:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Check and lint PR
steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/toolchains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push,pull_request]
jobs:
build-itk-wasm-base:
name: "Build itk-wasm-base"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand All @@ -14,6 +14,7 @@ jobs:
run: |
# Workaround for https://github.com/actions/virtual-environments/issues/709
df -h
sudo apt-get update
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
build-itk-wasm:
name: "Build itk-wasm"
needs: build-itk-wasm-base
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/wasi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push,pull_request]

jobs:
build-test:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand All @@ -13,6 +13,7 @@ jobs:
run: |
# Workaround for https://github.com/actions/virtual-environments/issues/709
df -h
sudo apt-get update
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
Expand Down

0 comments on commit eebc633

Please sign in to comment.