Fixed the recommended Qodana inspections #71
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |