Skip to content

mdmould code format checks #22

mdmould code format checks

mdmould code format checks #22

name: code-formatting
run-name: ${{ github.actor }} code format checks
on: [pull_request]
jobs:
run-pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- uses: snok/install-poetry@v1
with:
version: 1.2.2
virtualenvs-create: false
installer-parallel: true
- run: poetry install
- run: pre-commit install
- run: task lint