Skip to content

Beta version.

Beta version. #27

Workflow file for this run

name: pre-commit
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
push:
branches: [trunk]
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: |
~/.cache/pre-commit/
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- uses: actions/[email protected]
with:
python-version: '3.12'
- run: pip install -r .github/workflows/pre-commit-requirements.txt
- run: pre-commit run --all-files