feat: add linting CI job

This commit is contained in:
Marvin Gaube 2023-11-25 17:36:10 +01:00
parent 9d3aa8416b
commit d7d4500bf5
2 changed files with 25 additions and 0 deletions

15
.github/workflows/lint.yaml vendored Normal file
View file

@ -0,0 +1,15 @@
---
name: Lint
on:
push:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pipx install hatch
- run: hatch run ci:check
# temporary allow failures on pylint until we've fixed all issues
- run: hatch run ci:lint || exit 0