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 mxcube#1313
  • Loading branch information
fabcor-maxiv committed Jul 11, 2024
1 parent 8c3488e commit bb2a234
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---

name: pre-commit

"on": [pull_request, push]

jobs:

pre-commit:
runs-on: ubuntu-22.04
steps:

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

- uses: actions/checkout@v4

- uses: pre-commit/[email protected]

0 comments on commit bb2a234

Please sign in to comment.