File tree 2 files changed +7
-19
lines changed 2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 14
14
15
15
- name : Checkout
16
16
uses : actions/checkout@v2
17
+ with :
18
+ submodules : recursive
17
19
18
20
- name : Setup Python 3.7
19
21
uses : actions/setup-python@v2
Original file line number Diff line number Diff line change 1
- name : isort -check
1
+ name : black-format -check
2
2
3
- on :
4
- # Manually triggerable in github
5
- workflow_dispatch :
6
-
7
- # When a push occurs on either of these branches
8
- push :
9
- branches :
10
- - master
11
- - development
12
-
13
- # When a push occurs on a PR that targets these branches
14
- pull_request :
15
- branches :
16
- - master
17
- - development
3
+ on : [push, pull_request, workflow_dispatch]
18
4
19
5
env :
20
- # If STRICT is set to true, it will fail on isort check fail
6
+ # If STRICT is set to true, it will fail on black check fail
21
7
STRICT : false
22
8
23
9
jobs :
24
10
25
- isort -format-check :
11
+ black -format-check :
26
12
runs-on : ubuntu-latest
27
13
steps :
28
14
36
22
with :
37
23
python-version : " 3.7"
38
24
39
- - name : Install isort
25
+ - name : Install black
40
26
run : |
41
27
pip install isort
42
28
You can’t perform that action at this time.
0 commit comments