diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3fec218..1b812f8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 \ No newline at end of file + - 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 . \ No newline at end of file