We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92c61dc commit b852c30Copy full SHA for b852c30
.github/workflows/pre-commit.yml
@@ -0,0 +1,14 @@
1
+name: Run pre-commit
2
+
3
+on:
4
+ push:
5
+ branches: main
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ pre-commit:
12
+ uses: cpp-linter/.github/.github/workflows/pre-commit.yml@main
13
+ with:
14
+ commands: pip install pytest & pip install -e .
.github/workflows/test.yml
@@ -36,8 +36,3 @@ jobs:
36
verbose: true # optional (default = false)
37
- name: Test cpp-linter-hooks
38
run: sh testing/run.sh
39
- pre-commit:
40
- needs: [test]
41
- uses: cpp-linter/.github/.github/workflows/pre-commit.yml@main
42
- with:
43
- commands: pip install pytest & pip install -e .
0 commit comments