Skip to content

Commit

Permalink
bump Ubuntu from 20.04 to 22.04 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
scholarsmate committed Jan 30, 2025
1 parent 6a85a3d commit 002e172
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ratCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
jobs:
check:
name: Rat Check 🐀
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:
jobs:
quality-gate:
name: Quality Gate
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
# This check name is defined as the github action job name (in .github/workflows/testing.yaml)
checkName: "Build middleware ubuntu-20.04 🔧"
checkName: "Build middleware ubuntu-22.04 🔧"
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Check tests - Windows ✅
Expand All @@ -103,7 +103,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
# This check name is defined as the github action job name (in .github/workflows/testing.yaml)
checkName: "Native build ubuntu-20.04 arm64 🦙"
checkName: "Native build ubuntu-22.04 arm64 🦙"
ref: ${{ github.event.pull_request.head.sha || github.sha }}

- name: Quality Gate ✅
Expand All @@ -130,7 +130,7 @@ jobs:
create-release:
name: Create Release ✨
needs: [quality-gate]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
scala-publish:
needs: [create-release]
name: Scala Publish API, Native and Server ✨
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
workflow: tests.yml
branch: main
workflow_conclusion: success
name: ubuntu-20.04-x64-libomega_edit.so
name: ubuntu-22.04-x64-libomega_edit.so
path: _install/libomega_edit_linux_amd64.so

- name: Download linux arm64 library file 🔻
Expand All @@ -217,7 +217,7 @@ jobs:
workflow: tests.yml
branch: main
workflow_conclusion: success
name: ubuntu-20.04-arm64-libomega_edit.so
name: ubuntu-22.04-arm64-libomega_edit.so
path: _install/libomega_edit_linux_aarch64.so

- name: Download macos-13 library file 🔻
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:

node-build:
name: Node Release ✨
runs-on: ubuntu-20.04 # NOTE: build on older OS versions to support older OS versions
runs-on: ubuntu-22.04 # NOTE: build on older OS versions to support older OS versions
needs: [scala-publish]
steps:
- name: Checkout 🛎️
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scala-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
build:
name: Scala Code Format
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout Current Branch (full) 🛎️
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
scala-steward:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Scala Steward 🔔
steps:
- name: Scala Steward 🔔
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
build-native:
strategy:
matrix:
os: [ windows-2019, macos-13, ubuntu-20.04, macos-14 ]
os: [ windows-2019, macos-13, ubuntu-22.04, macos-14 ]
fail-fast: false # don't immediately fail all other jobs if a single job fails
name: Native build and test on ${{ matrix.os }} 🦙
runs-on: ${{ matrix.os }}
Expand All @@ -39,24 +39,24 @@ jobs:
os-name: ${{ matrix.os }}-${{ env.runner_arch }}

build-native-linux-arm64:
name: Native build ubuntu-20.04 arm64 🦙
runs-on: ubuntu-20.04
name: Native build ubuntu-22.04 arm64 🦙
runs-on: ubuntu-22.04
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Build Native Linux arm64
uses: ./.github/workflows/build-native-docker
with:
os-name: ubuntu-20.04-arm64
docker-image: ghcr.io/ctc-oss/omega-edit-build-arm64:ubuntu-20.04
os-name: ubuntu-22.04-arm64
docker-image: ghcr.io/ctc-oss/omega-edit-build-arm64:ubuntu-22.04
library-filename: libomega_edit.so

build-middleware:
needs: [ build-native ]
strategy:
matrix:
os: [ windows-2019, macos-13, ubuntu-20.04, macos-14 ]
os: [ windows-2019, macos-13, ubuntu-22.04, macos-14 ]
fail-fast: false
runs-on: ${{ matrix.os }}
name: Build middleware ${{ matrix.os }} 🔧
Expand All @@ -79,15 +79,15 @@ jobs:
# TODO: Currently this action fails on sbt installM2 due to a timeout on sbt test 'should listen to session event'
# build-middleware-linux-arm64:
# needs: [ build-native-linux-arm64 ]
# runs-on: ubuntu-20.04
# name: Build middleware ubuntu-20.04 arm64 🔧
# runs-on: ubuntu-22.04
# name: Build middleware ubuntu-22.04 arm64 🔧
# steps:
# - name: Checkout 🛎️
# uses: actions/checkout@v4

# - name: Build Middleware ${{ matrix.os }}
# uses: ./.github/workflows/build-middleware-docker
# with:
# os-name: ubuntu-20.04-arm64
# docker-image: ghcr.io/ctc-oss/omega-edit-build-arm64:ubuntu-20.04
# os-name: ubuntu-22.04-arm64
# docker-image: ghcr.io/ctc-oss/omega-edit-build-arm64:ubuntu-22.04
# library-filename: libomega_edit.so
2 changes: 1 addition & 1 deletion .github/workflows/ts-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
build:
name: TypeScript code is properly formatted
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout current branch (full) 🛎️
uses: actions/checkout@v4
Expand Down

0 comments on commit 002e172

Please sign in to comment.