From a89925b99eab32b96142e472255296919d7aed52 Mon Sep 17 00:00:00 2001 From: Tristan Lee Date: Mon, 7 Aug 2023 20:17:59 -0500 Subject: [PATCH] manually specified all steps in linting workflow --- .github/workflows/lint.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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