Skip to content

docs(README): note prek #70

docs(README): note prek

docs(README): note prek #70

Workflow file for this run

name: Main push and PR checks
on:
pull_request:
push:
branches:
- main
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# No caching as we're expected to run rarely
- name: Install dependencies and run checks
run: |
venv=$(mktemp -d ${TMPDIR:-/tmp}/venv.XXXXXX)
python3 -m venv "$venv"
source "$venv/bin/activate"
python3 -m pip install pre-commit
pre-commit try-repo . --color always --verbose --all-files