Skip to content

Commit 2a7743e

Browse files
committed
chore: enable format ci
1 parent f9178f8 commit 2a7743e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/push.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Check Commit
2+
on:
3+
push:
4+
5+
jobs:
6+
format:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
lib:
11+
- scaleway-core
12+
- scaleway
13+
- scaleway-async
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: 3.8
20+
- name: Install poetry
21+
working-directory: ${{ matrix.lib }}
22+
run: |
23+
pip install poetry
24+
poetry --version
25+
- name: Install dependencies
26+
working-directory: ${{ matrix.lib }}
27+
run: poetry install --no-root
28+
- name: Check format
29+
working-directory: ${{ matrix.lib }}
30+
run: poetry run black --check .

0 commit comments

Comments
 (0)