File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : CodeQL
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
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
Original file line number Diff line number Diff line change 8
8
workflow_dispatch :
9
9
10
10
jobs :
11
- pre-commit :
12
- uses : cpp-linter/.github/.github/workflows/pre-commit.yml@main
13
- with :
14
- commands : pip install pytest -e .
15
11
test :
16
12
runs-on : ubuntu-latest
17
13
steps :
40
36
verbose : true # optional (default = false)
41
37
- name : Test cpp-linter-hooks
42
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 -e .
You can’t perform that action at this time.
0 commit comments