Skip to content

Bring better linting #30

Bring better linting

Bring better linting #30

Workflow file for this run

name: Lint CI
on:
pull_request:
branches: ["master"]
jobs:
run-lints:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python 3.8
uses: actions/[email protected]
with:
python-version: 3.8
- name: Set up pip cache
uses: actions/[email protected]
with:
path: |
~/.cache/pip
${{ github.workspace }}/.mypy_cache
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: ${{ runner.os }}-pip-
- name: Install Hatch
run: pipx install hatch
- name: Check style and typing
run: hatch run lint:all