15 lines
349 B
YAML
15 lines
349 B
YAML
on:
|
|
push:
|
|
|
|
jobs:
|
|
sast:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
- name: Install pipx
|
|
run: pip install pipx
|
|
- name: Check formatting
|
|
run: pipx run black **/*.py --check
|
|
- name: Check import ordering
|
|
run: pipx run isort **/*.py --check
|