We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd51706 commit a55c0a7Copy full SHA for a55c0a7
.github/workflows/pre-commit.yml
@@ -0,0 +1,28 @@
1
+name: pre-commit
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches: [master]
7
8
+permissions: read-all
9
10
+jobs:
11
+ pre-commit:
12
+ runs-on: ubuntu-latest
13
+ timeout-minutes: 30
14
+ steps:
15
+ - name: Checkout repo
16
+ uses: actions/checkout@v4.2.2
17
18
+ - name: Set up python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: '3.12'
22
23
+ - name: Version of clang-format
24
+ run: |
25
+ clang-format --version
26
27
+ - name: Run pre-commit checks
28
+ uses: pre-commit/action@v3.0.1
0 commit comments