Skip to content

Manually invoke pre-commit #6

Manually invoke pre-commit

Manually invoke pre-commit #6

Workflow file for this run

name: pre-commit
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Set up Python virtual environment
run: |
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt -r requirements-dev.txt
source .venv/bin/activate
- name: Run pre-commit
run: |
pre-commit run --all-files