mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-07 19:08:35 +03:00
manually specified all steps in linting workflow
This commit is contained in:
16
.github/workflows/lint.yml
vendored
16
.github/workflows/lint.yml
vendored
@@ -7,7 +7,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Run isort
|
||||
uses: isort/isort-action@v1
|
||||
- name: Run black
|
||||
uses: psf/black@stable
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.9'
|
||||
- name: Lint with Black
|
||||
run: |
|
||||
pip install black
|
||||
black --check .
|
||||
- name: Lint with isort
|
||||
run: |
|
||||
pip install isort
|
||||
isort --check --profile=black .
|
||||
Reference in New Issue
Block a user