Skip to content

Commit 6c09c63

Browse files
chore: update CI and release configurations to use Ubuntu 22.04
1 parent c16e821 commit 6c09c63

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
check:
3232
name: Check
3333
if: "!contains(github.event.head_commit.message, '[ci-skip]')"
34-
runs-on: ubuntu-24.04
34+
runs-on: ubuntu-22.04
3535
steps:
3636
- name: Checkout
3737
uses: actions/checkout@v6
@@ -59,9 +59,9 @@ jobs:
5959
~/.cargo/registry/cache/
6060
~/.cargo/git/db/
6161
native/target/
62-
key: ubuntu-24.04-cargo-${{ hashFiles('native/Cargo.toml') }}-${{ github.run_id }}
62+
key: ubuntu-22.04-cargo-${{ hashFiles('native/Cargo.toml') }}-${{ github.run_id }}
6363
restore-keys: |
64-
ubuntu-24.04-cargo-${{ hashFiles('native/Cargo.toml') }}
64+
ubuntu-22.04-cargo-${{ hashFiles('native/Cargo.toml') }}
6565
continue-on-error: true
6666

6767
- name: Setup Protoc
@@ -87,7 +87,7 @@ jobs:
8787
~/.cargo/registry/cache/
8888
~/.cargo/git/db/
8989
native/target/
90-
key: ubuntu-24.04-cargo-${{ hashFiles('native/Cargo.toml') }}-${{ github.run_id }}
90+
key: ubuntu-22.04-cargo-${{ hashFiles('native/Cargo.toml') }}-${{ github.run_id }}
9191
continue-on-error: true
9292

9393
sonar:
@@ -96,7 +96,7 @@ jobs:
9696
if: |
9797
github.event_name == 'push' ||
9898
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
99-
runs-on: ubuntu-24.04
99+
runs-on: ubuntu-22.04
100100
steps:
101101
- name: Checkout
102102
uses: actions/checkout@v6
@@ -130,7 +130,7 @@ jobs:
130130
~/.cargo/registry/cache/
131131
~/.cargo/git/db/
132132
native/target/
133-
key: ubuntu-24.04-cargo-${{ hashFiles('native/Cargo.toml') }}-${{ github.run_id }}
133+
key: ubuntu-22.04-cargo-${{ hashFiles('native/Cargo.toml') }}-${{ github.run_id }}
134134
fail-on-cache-miss: 'true'
135135
continue-on-error: false
136136

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
include:
2424
# Linux x64
2525
- target: x86_64-unknown-linux-gnu
26-
os: ubuntu-24.04
26+
os: ubuntu-22.04
2727

2828
# Linux ARM64
2929
- target: aarch64-unknown-linux-gnu
30-
os: ubuntu-24.04-arm
30+
os: ubuntu-22.04-arm
3131

3232
# Windows x64
3333
- target: x86_64-pc-windows-msvc
@@ -86,7 +86,7 @@ jobs:
8686
pack:
8787
name: Pack NuGet
8888
needs: pack-build-native
89-
runs-on: ubuntu-24.04
89+
runs-on: ubuntu-22.04
9090
steps:
9191
- name: Checkout
9292
uses: actions/checkout@v6
@@ -120,7 +120,7 @@ jobs:
120120
needs: pack
121121
strategy:
122122
matrix:
123-
os: [ubuntu-24.04, ubuntu-24.04-arm, windows-2025, macos-26]
123+
os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2025, macos-26]
124124
runs-on: ${{ matrix.os }}
125125
steps:
126126
- name: Checkout
@@ -149,7 +149,7 @@ jobs:
149149
pack-publish-github:
150150
name: Publish to GitHub Packages
151151
needs: pack-smoke-test
152-
runs-on: ubuntu-24.04
152+
runs-on: ubuntu-22.04
153153
permissions:
154154
packages: write
155155
steps:
@@ -240,7 +240,7 @@ jobs:
240240
github-release:
241241
name: Create GitHub Release
242242
needs: pack-publish-github
243-
runs-on: ubuntu-24.04
243+
runs-on: ubuntu-22.04
244244
permissions:
245245
contents: write
246246
steps:

0 commit comments

Comments
 (0)