fix(startup): reduce auto-detection retries to minimize startup delay #2873
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: Ruff | |
| on: | |
| pull_request: | |
| paths: | |
| - '**/*.py' # Watch for changes in any Python files | |
| - 'pyproject.toml' # Watch for changes in the pyproject.toml file | |
| push: | |
| paths: | |
| - '**/*.py' # Watch for changes in any Python files | |
| - 'pyproject.toml' # Watch for changes in the pyproject.toml file | |
| workflow_dispatch: | |
| release: | |
| types: [published] | |
| concurrency: | |
| group: ci-${{github.workflow}}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - name: Lint with Ruff | |
| uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1 | |
| with: | |
| version-file: pyproject.toml | |
| - name: Check format with Ruff | |
| uses: astral-sh/ruff-action@57714a7c8a2e59f32539362ba31877a1957dded1 # v3.5.1 | |
| with: | |
| version-file: pyproject.toml | |
| args: format --check |