File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed
Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,24 @@ jobs:
2828 - uses : actions/checkout@v3
2929 - uses : actions/setup-python@v4
3030 with :
31- python-version : ' 3.7 '
31+ python-version : ' 3.8 '
3232
33- - name : Install from source
34- run : python3 -m pip install . pylint
33+ - name : pre-commit cache
34+ uses : actions/cache@v3
35+ with :
36+ path : ~/.cache/pre-commit
37+ key : lint-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
38+ restore-keys : |
39+ lint-pre-commit-
40+
41+ - name : Making preparations
42+ run : |
43+ python3 -m pip install .
44+ python3 -m pip install wheel pre-commit pylint
45+ pre-commit install
3546
36- - name : Pylint Analysis
37- run : python3 -m pylint pillow_heif
47+ - name : Run Analysis
48+ run : pre-commit run --all-files --verbose --show-diff-on-failure
3849
3950 coverage-linux :
4051 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments