Use pre-commit/action to simplify CI (#2191)

This commit is contained in:
Hugo van Kemenade 2021-05-04 14:41:04 +03:00 committed by GitHub
parent 0c60ccc066
commit 267bc5dde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install --upgrade pre-commit
python -m pip install -e '.[d]' python -m pip install -e '.[d]'
- name: Lint - name: Lint
run: pre-commit run --all-files --show-diff-on-failure uses: pre-commit/action@v2.0.2