We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40081bc commit 1a11ca3Copy full SHA for 1a11ca3
1 file changed
.github/workflows/pre-commit.yml
@@ -0,0 +1,23 @@
1
+name: pre-commit
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches: ["main"]
7
8
+jobs:
9
+ pre-commit:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v4
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v4
16
+ with:
17
+ python-version: '3.10'
18
+ - name: Install ruff
19
+ run: pip install ruff
20
+ - name: Get pre-commit
21
+ uses: pre-commit/action@v3.0.0
22
+ - name: Run pre-commit
23
+ run: pre-commit run --all-files
0 commit comments