Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ubuntu label to ubuntu-24.04 #478

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/create_python_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -17,7 +17,7 @@
splits = short_tag.split('.')
major = int(splits[0])
minor = int(splits[1])
if major == 3 and minor >= 7 and short_tag not in json_dict['python-version']:
if major == 3 and minor >= 8 and short_tag not in json_dict['python-version']:
json_dict['python-version'].append(short_tag)

with open(os.environ['GITHUB_OUTPUT'], 'a') as fh:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

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';
const minSupportedVersion = '3.8.0-0';

export {testedLabels, toolName, minSupportedVersion};

Expand Down
Loading