Repository navigation
Add phase field to file_status JSON output (start/end lifecycle events) #3673
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage | |
| # See also what we use locally in requirements.d/codestyle.txt — this should be the same version here. | |
| name: Lint | |
| on: | |
| push: | |
| paths: | |
| - '**.py' | |
| - 'pyproject.toml' | |
| - '.github/workflows/black.yaml' | |
| pull_request: | |
| paths: | |
| - '**.py' | |
| - 'pyproject.toml' | |
| - '.github/workflows/black.yaml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9 # 26.3.1 | |
| with: | |
| version: "~= 24.0" |