ci: Update setup-python to v5 and add Python version verification

This commit is contained in:
yusyus
2026-02-08 23:24:37 +03:00
parent 4deadd3800
commit aa952aff81

View File

@@ -18,9 +18,10 @@ jobs:
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Install uv
run: |
@@ -43,6 +44,11 @@ jobs:
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Verify Python version
run: |
python --version
python -c "import sys; assert sys.version_info >= (3, 10), f'Python {sys.version} is not >= 3.10'"
- name: Create Release Notes
id: release_notes
run: |