Show More
@@ -19,6 +19,8 b' jobs:' | |||||
19 |
|
19 | |||
20 | steps: |
|
20 | steps: | |
21 | - uses: actions/checkout@v2 |
|
21 | - uses: actions/checkout@v2 | |
|
22 | with: | |||
|
23 | fetch-depth: 0 | |||
22 | - name: Set up Python ${{ matrix.python-version }} |
|
24 | - name: Set up Python ${{ matrix.python-version }} | |
23 | uses: actions/setup-python@v2 |
|
25 | uses: actions/setup-python@v2 | |
24 | with: |
|
26 | with: | |
@@ -29,7 +31,6 b' jobs:' | |||||
29 | pip install darker |
|
31 | pip install darker | |
30 | - name: Lint with darker |
|
32 | - name: Lint with darker | |
31 | run: | |
|
33 | run: | | |
32 | git fetch |
|
|||
33 | darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . || ( |
|
34 | darker -r 60625f241f298b5039cb2debc365db38aa7bb522 --check --diff . || ( | |
34 | echo "Changes need auto-formatting. Run:" |
|
35 | echo "Changes need auto-formatting. Run:" | |
35 | echo " darker -r 60625f241f298b5039cb2debc365db38aa7bb522" |
|
36 | echo " darker -r 60625f241f298b5039cb2debc365db38aa7bb522" |
General Comments 0
You need to be logged in to leave comments.
Login now