From 55ce856dbb0caacdfd69796b551a4743442b285d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20T=C3=A4nzer?= Date: Fri, 24 Jan 2025 10:05:25 +0100 Subject: [PATCH] [issue-839] Run GH Actions workflow on ubuntu-22.04 instead of ubuntu-latest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ubuntu-latest does not support Python 3.7 anymore. See https://github.com/actions/runner-images/issues/10636 Signed-off-by: Armin Tänzer --- .github/workflows/check_codestyle.yml | 2 +- .github/workflows/install_and_test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_codestyle.yml b/.github/workflows/check_codestyle.yml index 4cc16b9c1..19533b08b 100644 --- a/.github/workflows/check_codestyle.yml +++ b/.github/workflows/check_codestyle.yml @@ -19,7 +19,7 @@ jobs: shell: bash strategy: matrix: - os: [ ubuntu-latest, macos-latest, windows-latest ] + os: [ ubuntu-22.04, macos-latest, windows-latest ] python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] exclude: # see https://github.com/actions/runner-images/issues/9770#issuecomment-2085623315 - python-version: "3.7" diff --git a/.github/workflows/install_and_test.yml b/.github/workflows/install_and_test.yml index 0f66cc73f..85999b66a 100644 --- a/.github/workflows/install_and_test.yml +++ b/.github/workflows/install_and_test.yml @@ -16,7 +16,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-latest, macos-latest, windows-latest ] + os: [ ubuntu-22.04, macos-latest, windows-latest ] python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] exclude: # see https://github.com/actions/runner-images/issues/9770#issuecomment-2085623315 - python-version: "3.7"