Skip to content

Fixed the recommended Qodana inspections #71

Fixed the recommended Qodana inspections

Fixed the recommended Qodana inspections #71

Workflow file for this run

name: Compatibility
on:
push:
branches:
- main
pull_request:
jobs:
check-compatibility:
name: With Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13' ]
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
path: project/library
- name: Checkout sanity stub
uses: actions/checkout@v4
with:
ref: sanity
path: project/sanity
- name: Install poetry
run: |
IFS=. read -r major minor <<< "${{ matrix.python-version }}"
if [ "$major" -eq 3 ] && [ "$minor" -lt 9 ]; then
echo "Installing Poetry 1.x for Python ${{ matrix.python-version }}"
pipx install "poetry==1.8.5"
else
echo "Installing latest Poetry for Python ${{ matrix.python-version }}"
pipx install poetry
fi
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Check Installability
working-directory: project/sanity
run: |
poetry add zitadel-client@../library