Skip to content

Update code.yaml

Update code.yaml #768

Workflow file for this run

name: linters
on: [push]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10" # lower python supported
- name: Install Dependencies
run: poetry install
- name: Install psycopg
run: poetry run pip install psycopg
- name: Run pre-commit
uses: pre-commit/action@v2.0.0
- name: Run mypy
run: poetry run mypy .