Use pre-commit/action to simplify CI (#2191)
This commit is contained in:
parent
0c60ccc066
commit
267bc5dde9
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
@ -22,8 +22,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install --upgrade pre-commit
|
||||
python -m pip install -e '.[d]'
|
||||
|
||||
- name: Lint
|
||||
run: pre-commit run --all-files --show-diff-on-failure
|
||||
uses: pre-commit/action@v2.0.2
|
||||
|
Loading…
Reference in New Issue
Block a user