File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Format Validator
2+
3+ on :
4+ push :
5+ paths :
6+ - ' validator/**'
7+
8+ jobs :
9+ main :
10+ name : Run Black
11+ runs-on : ubuntu-latest
12+
13+ defaults :
14+ run :
15+ working-directory : validator
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Set up Python
22+ uses : actions/setup-python@v4
23+ with :
24+ python-version : ' 3.11'
25+
26+ - name : Install dependencies
27+ run : |
28+ pip3 install -r requirements.txt
29+
30+ - name : Run Black
31+ run : |
32+ black --check .
Original file line number Diff line number Diff line change 1717 - name : Checkout
1818 uses : actions/checkout@v4
1919
20- - uses : actions/setup-python@v4
20+ - name : Set up Python
21+ uses : actions/setup-python@v4
2122 with :
2223 python-version : ' 3.11'
2324
You can’t perform that action at this time.
0 commit comments