Skip to content

Commit

Permalink
Add linting to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDenisov committed Dec 15, 2024
1 parent 491a5b6 commit c3dcc14
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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

0 comments on commit c3dcc14

Please sign in to comment.