Skip to content

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

[pre-commit.ci] pre-commit autoupdate

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

Workflow file for this run

name: Linter
on: [pull_request]
jobs:
linter:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Run pre-commit
uses: pre-commit/[email protected]
mypy:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Install apt packages
run: sudo apt update
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox-gh-actions
- name: Install Poetry
uses: snok/[email protected]
- name: Install tox and mypy
run: poetry install --with dev,test,ci
- name: Run mypy
run: tox -e mypy