diff --git a/.github/workflows/lint-actions.yaml b/.github/workflows/lint-actions.yaml index eb76d79..4302934 100644 --- a/.github/workflows/lint-actions.yaml +++ b/.github/workflows/lint-actions.yaml @@ -9,17 +9,13 @@ jobs: Black: runs-on: ubuntu-latest steps: - - name: Set up python - id: setup-python - uses: actions/setup-python@v4 - with: - python-version: '3.11' - name: Check out Git repository uses: actions/checkout@v3 - - run: pip install black - name: Run black - run: | - black src tests + uses: psf/black@stable + with: + options: --check --diff --color --fast + src: ./src ./tests mypy: runs-on: ubuntu-latest