Skip to content

Raise exception for cascades with > 26 platforms #25

Raise exception for cascades with > 26 platforms

Raise exception for cascades with > 26 platforms #25

Workflow file for this run

name: Run pre-commit hooks
on:
pull_request:
branches: [ "main" ]
jobs:
pre-commit:
strategy:
matrix:
py_version: ["3.9", "3.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v5
name: Install Python v${{ matrix.py_version }}
with:
python-version: ${{ matrix.py_version }}
cache: 'pip'
- run: pip install -U pip setuptools
- uses: pre-commit/action@v3.0.1
name: Configure and run pre-commit on changed files
with:
# the intention with this is to run pre-commit only
# on the diff submitted with this PR
extra_args: --color=always --from-ref ${{ github.event.pull_request.base.sha }} --to-ref ${{ github.event.pull_request.head.sha }}
permissions: read-all