File tree Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Expand file tree Collapse file tree 1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -14,30 +14,6 @@ defaults:
14
14
shell : bash
15
15
16
16
jobs :
17
- # Run "pre-commit run --all-files"
18
- pre-commit :
19
- runs-on : ubuntu-20.04
20
- timeout-minutes : 2
21
-
22
- steps :
23
- - uses : actions/checkout@v2
24
- - uses : actions/setup-python@v2
25
- with :
26
- python-version : 3.8
27
-
28
- # ref: https://github.com/pre-commit/action
29
- -
uses :
pre-commit/[email protected]
30
- - name : Help message if pre-commit fail
31
- if : ${{ failure() }}
32
- run : |
33
- echo "You can install pre-commit hooks to automatically run formatting"
34
- echo "on each commit with:"
35
- echo " pre-commit install"
36
- echo "or you can run by hand on staged files with"
37
- echo " pre-commit run"
38
- echo "or after-the-fact on already committed files with"
39
- echo " pre-commit run --all-files"
40
-
41
17
build :
42
18
runs-on : ${{ matrix.os }}
43
19
strategy :
You can’t perform that action at this time.
0 commit comments