summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pre-commit.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pre-commit.yml')
-rw-r--r--.github/workflows/pre-commit.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
new file mode 100644
index 0000000..52dfe45
--- /dev/null
+++ b/.github/workflows/pre-commit.yml
@@ -0,0 +1,14 @@
+---
+name: pre-commit
+on:
+ - pull_request
+ - push
+jobs:
+ pre-commit:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-python@v4
+ with:
+ python-version: "3.10"
+ - uses: pre-commit/action@v3.0.0