File tree Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Expand file tree Collapse file tree 2 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches : [ master, 'maint/*' ]
9
9
10
+ defaults :
11
+ run :
12
+ shell : bash
13
+
14
+ concurrency :
15
+ group : ${{ github.workflow }}-${{ github.ref }}
16
+ cancel-in-progress : true
17
+
18
+ permissions :
19
+ contents : read
20
+
10
21
jobs :
11
22
build :
12
23
if : " !contains(github.event.head_commit.message, '[skip ci]')"
@@ -17,10 +28,10 @@ jobs:
17
28
18
29
steps :
19
30
- name : Set up Python ${{ matrix.python-version }}
20
- uses : actions/setup-python@v2
31
+ uses : actions/setup-python@v4
21
32
with :
22
33
python-version : ${{ matrix.python-version }}
23
- - uses : actions/checkout@v2
34
+ - uses : actions/checkout@v3
24
35
with :
25
36
fetch-depth : 0
26
37
- name : Install nibabies
Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches : [ master, 'maint/*' ]
9
9
10
+ defaults :
11
+ run :
12
+ shell : bash
13
+
14
+ permissions :
15
+ contents : read
16
+
10
17
jobs :
11
18
build :
12
19
if : " !contains(github.event.head_commit.message, '[skip ci]')"
13
20
runs-on : ubuntu-latest
14
21
strategy :
15
22
matrix :
16
- python-version : [3.9]
23
+ python-version : [' 3.9' ]
17
24
18
25
steps :
19
- - uses : actions/checkout@v2
26
+ - uses : actions/checkout@v3
20
27
with :
21
28
fetch-depth : 1 # Only fetch the latest commit
22
29
- name : Set up Python ${{ matrix.python-version }}
23
- uses : actions/setup-python@v2
30
+ uses : actions/setup-python@v4
24
31
with :
25
32
python-version : ${{ matrix.python-version }}
26
33
- name : Install dependencies
29
36
- name : black code formatting check
30
37
run : |
31
38
black --check nibabies/
39
+ - name : isort formatting check
40
+ run : isort nibabies/ --check-only
You can’t perform that action at this time.
0 commit comments