Skip to content

Add linting to CI

Add linting to CI #1

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
- run: pip install -r requirements.txt
- run: ./infrastructure/generator.py all
- run: git diff --exit-code