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 8df5e5a commit a501e3bCopy full SHA for a501e3b
.github/workflows/codeql.yml
@@ -0,0 +1,14 @@
1
+name: CodeQL
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ codeql:
12
+ uses: cpp-linter/.github/.github/workflows/codeql.yml@add-codeql-workflow
13
+ with:
14
+ language: python
.github/workflows/test.yml
@@ -8,10 +8,6 @@ on:
workflow_dispatch:
jobs:
- pre-commit:
- uses: cpp-linter/.github/.github/workflows/pre-commit.yml@main
- with:
- commands: pip install pytest -e .
15
test:
16
runs-on: ubuntu-latest
17
steps:
@@ -40,3 +36,8 @@ jobs:
40
36
verbose: true # optional (default = false)
41
37
- name: Test cpp-linter-hooks
42
38
run: sh testing/run.sh
39
+ pre-commit:
+ needs: [test]
+ uses: cpp-linter/.github/.github/workflows/pre-commit.yml@main
43
+ commands: pip install pytest -e .
0 commit comments