From 0c8c487a83edfc94a233da0966b336865e23463e Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Sun, 29 Dec 2024 15:33:24 +0800 Subject: [PATCH] ci: make sure the baseline deps job is running on ubuntu-22.04 See: https://github.com/actions/runner-images/issues/10636 --- .github/workflows/pr.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a41643b..50ca80a 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -23,7 +23,7 @@ on: jobs: lint: name: "lint & typecheck & test (Python ${{ matrix.python }}${{ matrix.baseline && ', baseline deps' || '' }}${{ matrix.experimental && ', experimental' || '' }})" - runs-on: ubuntu-latest + runs-on: ${{ matrix.runs_on }} continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: true @@ -34,13 +34,16 @@ jobs: - '3.12' experimental: [false] baseline: [false] + runs_on: ['ubuntu-latest'] include: - python: '3.13' baseline: false experimental: true + runs_on: ubuntu-latest - python: '3.10' baseline: true experimental: false + runs_on: ubuntu-22.04 steps: - uses: actions/checkout@v4