Something went wrong. Try again.
Run-time type checking for function signatures in Python.
Something went wrong. Try again.
1.0 kB · 40 lines
YAML
at main
1234567891011121314151617181920212223242526272829303132333435363738394041name: Run `pre-commit` on PRs
on: pull_request: branches: [main, qa, dev] push: branches: [main, qa, dev]
jobs: main: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 - name: Install poetry run: pipx install poetry==1.8.5 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} cache: "poetry" - run: poetry install - uses: pre-commit/action@v3.0.0 - uses: pre-commit-ci/lite-action@v1.0.1 if: always()
# Remove the maintenance burden for required status checks. # https://github.com/marketplace/actions/alls-green#why all-green: if: always() needs: - main
runs-on: ubuntu-latest steps: - name: Ensure all other jobs pass successfully. uses: re-actors/alls-green@release/v1 with: jobs: ${{ toJSON(needs) }}