Skip to content

Check intended version #809

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ jobs:
- uses: astral-sh/setup-uv@v5
- run: uv tool install poethepoet
- run: uv sync --all-extras
- name: Check python version
shell: bash
run: |
actual=$(uv run python -c "import sys; print('.'.join(map(str, sys.version_info[:2])))")
if [[ "$actual" != "${{ matrix.python }}" ]]; then
echo "Python version in use by uv ($actual) does not match intended version (${{ matrix.python }})"
exit 1
fi
actual=$(python -c "import sys; print('.'.join(map(str, sys.version_info[:2])))")
if [[ "$actual" != "${{ matrix.python }}" ]]; then
echo "Python version on PATH ($actual) does not match intended version (${{ matrix.python }})"
exit 1
fi
- run: poe bridge-lint
if: ${{ matrix.clippyLinter }}
- run: poe lint
Expand Down
Loading