We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b76b3c7 commit c085fdfCopy full SHA for c085fdf
.github/workflows/pre-commit.yml
@@ -0,0 +1,33 @@
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/[email protected]
17
18
+ - name: Set up python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: '3.12'
22
23
+ - uses: BSFishy/pip-action@v1
24
25
+ packages: |
26
+ pylint
27
28
+ - name: Version of clang-format
29
+ run: |
30
+ clang-format --version
31
32
+ - name: Run pre-commit checks
33
+ uses: pre-commit/[email protected]
0 commit comments