2020-09-03 21:02:15 +00:00
|
|
|
name: formatting
|
2020-05-04 09:34:39 +00:00
|
|
|
|
2020-09-03 01:06:53 +00:00
|
|
|
on:
|
|
|
|
push:
|
2022-06-26 23:11:35 +00:00
|
|
|
branches: [ main ]
|
2020-09-03 01:06:53 +00:00
|
|
|
pull_request:
|
2022-06-26 23:11:35 +00:00
|
|
|
branches: [ main ]
|
2020-05-04 09:34:39 +00:00
|
|
|
|
|
|
|
jobs:
|
2022-08-03 12:10:32 +00:00
|
|
|
checks:
|
2020-05-04 09:34:39 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-09-03 01:06:53 +00:00
|
|
|
- uses: actions/checkout@v2
|
2022-08-03 12:10:32 +00:00
|
|
|
- uses: abatilo/actions-poetry@v2.1.3
|
|
|
|
- name: Install packages
|
|
|
|
run: poetry install
|
|
|
|
- name: Check black
|
|
|
|
run: make checkblack
|
|
|
|
- name: Check isort
|
|
|
|
run: make checkisort
|
2022-07-05 19:14:56 +00:00
|
|
|
- uses: actions/setup-node@v3
|
2022-08-03 12:10:32 +00:00
|
|
|
- name: Check prettier
|
|
|
|
run: |
|
|
|
|
npm install prettier
|
|
|
|
make checkprettier
|