Bump jinja2 from 3.1.3 to 3.1.4 (#49) #51
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: Static analysis | |
on: | |
push: | |
branches: | |
- master | |
- 'v*' | |
pull_request: | |
branches: | |
- master | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install poetry | |
uses: abatilo/actions-poetry@v2 | |
- name: Setup a local virtual environment | |
run: | | |
poetry config virtualenvs.create true --local | |
poetry config virtualenvs.in-project true --local | |
- uses: actions/cache@v4 | |
name: Setup cache | |
with: | |
path: ./.venv | |
key: venv-${{ hashFiles('poetry.lock') }} | |
- name: Install dependencies | |
run: poetry install | |
- name: isort | |
run: poetry run isort --check --diff unique_matcher/ tests/ | |
- name: black | |
run: poetry run black --check --diff unique_matcher/ tests/ | |
- name: ruff | |
run: poetry run ruff check unique_matcher/ tests/ | |
continue-on-error: true | |
- name: mypy | |
run: poetry run mypy unique_matcher/ |