Repository navigation
Reconnect and resend when Studio drops an idle connection #1584
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
| name: Linting | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| pull_request: | |
| branches: | |
| - develop | |
| - main | |
| jobs: | |
| pre_job: | |
| name: Path match check | |
| runs-on: ubuntu-latest | |
| # Map a step output to a job output | |
| outputs: | |
| lint: ${{ steps.filter.outputs.lint }} | |
| steps: | |
| # paths-filter needs a checkout to diff push events | |
| - uses: actions/checkout@v7.0.1 | |
| - id: filter | |
| uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 | |
| with: | |
| predicate-quantifier: every | |
| # '!**/*.po', not '!**.po': picomatch negates '**.po' at the repo root only. | |
| filters: | | |
| lint: | |
| - '!**/*.po' | |
| - '!**/*.json' | |
| linting: | |
| name: All file linting | |
| needs: pre_job | |
| if: ${{ needs.pre_job.outputs.lint == 'true' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| cache-python: true | |
| - name: Run prek | |
| run: uvx prek run --all-files |