From d10571fd4765c72ddfb1c8953ba2482a66e207bd Mon Sep 17 00:00:00 2001 From: MatteoH2O1999 Date: Wed, 11 Dec 2024 17:31:28 +0100 Subject: [PATCH] Update ubuntu label to `ubuntu-24.04` --- .github/scripts/create_python_matrix.py | 2 +- .github/workflows/check.yml | 4 ++-- src/constants.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/scripts/create_python_matrix.py b/.github/scripts/create_python_matrix.py index 544fa91..bb54eb9 100644 --- a/.github/scripts/create_python_matrix.py +++ b/.github/scripts/create_python_matrix.py @@ -3,7 +3,7 @@ import os import tempfile -json_dict = {"os": ["ubuntu-22.04", "windows-2022", "macos-14"], "python-version": []} +json_dict = {"os": ["ubuntu-24.04", "windows-2022", "macos-14"], "python-version": []} with tempfile.TemporaryDirectory() as temp_dir: python_repo = git.Repo.clone_from('https://github.com/python/cpython.git', temp_dir) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 56966aa..73eeb66 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -64,7 +64,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-14, windows-2022, ubuntu-22.04] + os: [macos-14, windows-2022, ubuntu-24.04] steps: - name: Download built action uses: actions/download-artifact@v4 @@ -104,7 +104,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-14, windows-2022, ubuntu-22.04] + os: [macos-14, windows-2022, ubuntu-24.04] steps: - name: Download built action uses: actions/download-artifact@v4 diff --git a/src/constants.ts b/src/constants.ts index e70fcaa..43a7a1d 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -16,7 +16,7 @@ const toolName = 'Python'; -const testedLabels = ['ubuntu-22.04', 'windows-2022', 'macos-14']; +const testedLabels = ['ubuntu-24.04', 'windows-2022', 'macos-14']; const minSupportedVersion = '3.7.0-0';