Skip to content

[pre-commit.ci] pre-commit autoupdate #610

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #610

Workflow file for this run

name: Linter
on: [pull_request]
jobs:
check:
name: ${{ matrix.check }} check
runs-on: ubuntu-latest
strategy:
matrix:
check: [lint, mypy]
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Install apt packages
run: |
sudo apt update
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install Poetry
uses: snok/[email protected]
- name: Install CI dependencies
run: |
poetry config virtualenvs.create false
poetry install --only ci
- name: Run check
run: tox -e ${{ matrix.check }}