fix str values being treated as sequences #322
This file contains 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: CI | |
on: | |
push: | |
branches: ["master", "renovate/*"] | |
tags: ["*.*.*"] | |
pull_request: | |
branches: ["master"] | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
if: startsWith(github.ref, 'refs/tags/') != true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pypoetry | |
key: ${{ runner.os }}-poetry-${{ hashFiles('**/pyproject.toml', '**/poetry.lock') }} | |
restore-keys: | | |
${{ runner.os }}-poetry- | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: poetry install | |
run: | | |
pip install poetry | |
poetry install | |
- run: poetry run pyright | |
- run: poetry run ruff check src/ | |
if: always() |