From 7c12d497b0d9536cbea6a8e44fb30a7e316563af Mon Sep 17 00:00:00 2001 From: Lei Xu Date: Sat, 1 Mar 2025 17:24:02 -0800 Subject: [PATCH] ci: bump python to 3.12 in GHA (#2169) --- .github/workflows/python.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 4323faf7..cdee5dbe 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -41,7 +41,7 @@ jobs: doctest: name: "Doctest" timeout-minutes: 30 - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" defaults: run: shell: bash @@ -54,7 +54,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" cache: "pip" - name: Install protobuf run: | @@ -75,8 +75,8 @@ jobs: timeout-minutes: 30 strategy: matrix: - python-minor-version: ["9", "11"] - runs-on: "ubuntu-22.04" + python-minor-version: ["9", "12"] + runs-on: "ubuntu-24.04" defaults: run: shell: bash @@ -127,7 +127,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - uses: Swatinem/rust-cache@v2 with: workspaces: python @@ -157,7 +157,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - uses: Swatinem/rust-cache@v2 with: workspaces: python @@ -168,7 +168,7 @@ jobs: run: rm -rf target/wheels pydantic1x: timeout-minutes: 30 - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-24.04" defaults: run: shell: bash