From aa952aff813e45094b2a538431e6acea3d8dc718 Mon Sep 17 00:00:00 2001 From: yusyus Date: Sun, 8 Feb 2026 23:24:37 +0300 Subject: [PATCH] ci: Update setup-python to v5 and add Python version verification --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2091b2a..c86f1c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: |