use 24.04 for github ci jobs (#3044)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5fadc27..4fcdabb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -67,9 +67,9 @@
- name: Run thrift version
run: /usr/local/bin/thrift -version
- # only upload while building ubuntu-22.04
+ # only upload while building ubuntu-24.04
- name: Archive built thrift compiler
- if: matrix.os == 'ubuntu-22.04'
+ if: matrix.os == 'ubuntu-24.04'
uses: actions/upload-artifact@v4
with:
name: thrift-compiler
@@ -78,7 +78,7 @@
lib-php:
needs: compiler
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
strategy:
matrix:
php-version: [7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
@@ -131,7 +131,7 @@
lib-go:
needs: compiler
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
strategy:
matrix:
go:
@@ -191,7 +191,7 @@
lib-java-kotlin:
needs: compiler
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
env:
GRADLE_VERSION: "8.4"
steps:
@@ -299,7 +299,7 @@
lib-netstd:
needs: compiler
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
strategy:
fail-fast: false
steps:
@@ -360,7 +360,7 @@
lib-swift:
needs: compiler
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
@@ -396,7 +396,7 @@
lib-rust:
needs: compiler
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
env:
TOOLCHAIN_VERSION: 1.65.0
steps:
@@ -461,7 +461,7 @@
lib-python:
needs: compiler
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
strategy:
matrix:
python-version:
@@ -524,7 +524,7 @@
- lib-rust
- lib-go
- lib-python
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-24.04
strategy:
matrix:
server_lang: ['java', 'kotlin', 'go', 'rs', 'swift']