Skip to content

Merge pull request #77 from ritual-net/dev #10

Merge pull request #77 from ritual-net/dev

Merge pull request #77 from ritual-net/dev #10

Workflow file for this run

# pre-commit workflow
#
# Ensures the codebase passes the pre-commit stack.
name: pre-commit
on:
pull_request:
push:
branches:
- dev
- main
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5.2.0
with:
python-version: "3.11"
cache: pip
- name: Install dependencies (python)
run: |
pip install -r requirements.lock
- name: Run pre-commit hooks
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files --show-diff-on-failure