File tree 2 files changed +13
-10
lines changed
template/.github/workflows
2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,14 @@ jobs:
18
18
- uses : actions/setup-python@v4
19
19
with :
20
20
python-version : ' 3.9'
21
- - run : python -m pip install --upgrade pip
22
- - run : python -m pip install -r requirements/ci.txt
23
- - run : tox -e static
24
- - uses : stefanzweifel/git-auto-commit-action@v5
21
+ -
uses :
pre-commit/[email protected]
22
+ with :
23
+ extra_args : --all-files
24
+ -
uses :
pre-commit-ci/[email protected]
25
+ if : always()
25
26
with :
26
- commit_message : Apply automatic formatting
27
+ msg : Apply automatic formatting
28
+
27
29
tests :
28
30
name : Tests
29
31
needs : formatting
Original file line number Diff line number Diff line change @@ -27,12 +27,13 @@ jobs:
27
27
- uses : actions/setup-python@v4
28
28
with :
29
29
python-version-file : ' .github/workflows/python-version-ci'
30
- - run : python -m pip install --upgrade pip
31
- - run : python -m pip install -r requirements/ci.txt
32
- - run : tox -e static
33
- - uses : stefanzweifel/git-auto-commit-action@v5
30
+ -
uses :
pre-commit/[email protected]
34
31
with :
35
- commit_message : Apply automatic formatting
32
+ extra_args : --all-files
33
+ -
uses :
pre-commit-ci/[email protected]
34
+ if : always()
35
+ with :
36
+ msg : Apply automatic formatting
36
37
37
38
tests :
38
39
name : Tests
You can’t perform that action at this time.
0 commit comments