Skip to content

Commit

Permalink
Add pre-commit to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mojken committed Mar 31, 2022
1 parent 8c42c25 commit dbbf060
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -7,6 +7,20 @@ on:
pull_request:

jobs:
linting:
name: Linting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: pip install pre-commit
- name: Run linting
run: make lint

tests:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
Expand Down

0 comments on commit dbbf060

Please sign in to comment.