Skip to content

Commit

Permalink
Add pre-commit CI
Browse files Browse the repository at this point in the history
  • Loading branch information
palfrey committed Apr 2, 2024
1 parent 9ea49e7 commit a0b5043
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: pre-commit

on:
push:
branches:
- main
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: ./uv pip install --system -r requirements.test
- name: pre-commit
run: pre-commit run -a

0 comments on commit a0b5043

Please sign in to comment.