Skip to content

Commit daec506

Browse files
committed
Move black check to bottom
1 parent 6323ff5 commit daec506

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

.github/workflows/pythonapp.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,6 @@ name: cve-bin-tool
33
on: [push, pull_request]
44

55
jobs:
6-
check:
7-
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/checkout@v1
10-
- name: Set up Python
11-
uses: actions/setup-python@v1
12-
with:
13-
python-version: 3.7
14-
- name: Install dependencies
15-
run: |
16-
python -m pip install --upgrade pip
17-
pip install -r requirements.txt
18-
- name: Lint with black
19-
run: |
20-
pip install black
21-
black --check cve_bin_tool/
22-
black --check test/
236

247
build:
258

@@ -41,3 +24,18 @@ jobs:
4124
- name: Run tests
4225
run: |
4326
ACTIONS=1 python setup.py test
27+
28+
black_check:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v1
32+
- name: Set up Python
33+
uses: actions/setup-python@v1
34+
with:
35+
python-version: 3.7
36+
- name: Lint with black
37+
run: |
38+
pip install black
39+
black --check cve_bin_tool/
40+
black --check test/
41+

0 commit comments

Comments
 (0)