We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3082ff commit f664ae6Copy full SHA for f664ae6
1 file changed
.github/workflows/pre-commit.yaml
@@ -0,0 +1,29 @@
1
+name: pre-commit
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ pre-commit:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v4
16
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v3
19
20
+ - name: Set up Python from .python-version
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version-file: ".python-version"
24
25
+ - name: Install dependencies
26
+ run: uv sync
27
28
+ - name: Run pre-commit
29
+ run: uv run pre-commit run --all-files
0 commit comments