diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index fce2cf29..0a6a94e6 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -4,19 +4,7 @@ jobs: black: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Python - uses: actions/setup-python@v5 + - uses: actions/checkout@v4 + - uses: psf/black@stable with: - python-version: '3.11' - - - name: Install Black - run: | - python -m pip install --upgrade pip - pip install black - - - name: Run Black check - run: > - black --check --verbose --line-length 79 . + options: "--check --verbose --line-length 79"