Skip to content

Commit

Permalink
Add GitHub Actions workflow for pre-commit hooks
Browse files Browse the repository at this point in the history
GitHub: fix #1313
  • Loading branch information
fabcor-maxiv committed Jul 11, 2024
1 parent 8c3488e commit cbfe6fa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---

"on": [pull_request, push]

jobs:

pre-commit:

steps:

# Check against the lowest supported version
- uses: actions/setup-python@v5
with:
python-version: "3.8"

- uses: actions/checkout@v4

- uses: pre-commit/action@v3

0 comments on commit cbfe6fa

Please sign in to comment.