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: |