File tree 8 files changed +39
-25
lines changed
8 files changed +39
-25
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ IncludeCategories:
33
33
- Regex : .*_msgs/.*
34
34
Priority : 3
35
35
CaseSensitive : true
36
+ - Regex : .*_srvs/.*
37
+ Priority : 3
38
+ CaseSensitive : true
36
39
# Other Package headers
37
40
- Regex : <.*>
38
41
Priority : 2
Original file line number Diff line number Diff line change @@ -11,19 +11,12 @@ jobs:
11
11
fail-fast : false
12
12
matrix :
13
13
rosdistro :
14
- - galactic
15
14
- humble
16
15
include :
17
- - rosdistro : galactic
18
- container : ros:galactic
19
- build-depends-repos : build_depends.repos
20
16
- rosdistro : humble
21
17
container : ros:humble
22
18
build-depends-repos : build_depends.repos
23
19
steps :
24
- - name : Cancel previous runs
25
- uses : styfle/cancel-workflow-action@0.11.0
26
-
27
20
- name : Check out repository
28
21
uses : actions/checkout@v3
29
22
with :
64
57
65
58
clang-tidy-differential :
66
59
runs-on : ubuntu-latest
67
- container : ros:galactic
60
+ container : ros:humble
68
61
needs : build-and-test-differential
69
62
steps :
70
63
- name : Check out repository
@@ -79,11 +72,20 @@ jobs:
79
72
id : get-modified-packages
80
73
uses : autowarefoundation/autoware-github-actions/get-modified-packages@v1
81
74
75
+ - name : Get modified files
76
+ id : get-modified-files
77
+ uses : tj-actions/changed-files@v34
78
+ with :
79
+ files : |
80
+ **/*.cpp
81
+ **/*.hpp
82
+
82
83
- name : Run clang-tidy
83
- if : ${{ steps.get-modified-packages .outputs.modified-packages != '' }}
84
+ if : ${{ steps.get-modified-files .outputs.all_changed_files != '' }}
84
85
uses : autowarefoundation/autoware-github-actions/clang-tidy@v1
85
86
with :
86
- rosdistro : galactic
87
+ rosdistro : humble
87
88
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
89
+ target-files : ${{ steps.get-modified-files.outputs.all_changed_files }}
88
90
clang-tidy-config-url : https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
89
91
build-depends-repos : build_depends.repos
Original file line number Diff line number Diff line change 15
15
fail-fast : false
16
16
matrix :
17
17
rosdistro :
18
- - galactic
19
18
- humble
20
19
include :
21
- - rosdistro : galactic
22
- container : ros:galactic
23
- build-depends-repos : build_depends.repos
24
20
- rosdistro : humble
25
21
container : ros:humble
26
22
build-depends-repos : build_depends.repos
Original file line number Diff line number Diff line change 4
4
{
5
5
"pattern" : " ^http://localhost"
6
6
},
7
+ {
8
+ "pattern" : " ^http://127\\ .0\\ .0\\ .1"
9
+ },
7
10
{
8
11
"pattern" : " ^https://github.com/.*/discussions/new"
9
12
}
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ default: true
3
3
MD013 : false
4
4
MD024 :
5
5
siblings_only : true
6
+ MD029 :
7
+ style : ordered
6
8
MD033 : false
7
9
MD041 : false
8
10
MD046 : false
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/tcort/markdown-link-check
3
- rev : v3.10.0
3
+ rev : v3.10.3
4
4
hooks :
5
5
- id : markdown-link-check
6
6
args : [--config=.markdown-link-check.json]
Original file line number Diff line number Diff line change 1
1
ci :
2
- autofix_commit_msg : " ci (pre-commit): autofix"
2
+ autofix_commit_msg : " style (pre-commit): autofix"
3
3
autoupdate_commit_msg : " ci(pre-commit): autoupdate"
4
4
5
5
repos :
6
6
- repo : https://github.com/pre-commit/pre-commit-hooks
7
- rev : v4.3 .0
7
+ rev : v4.4 .0
8
8
hooks :
9
9
- id : check-json
10
10
- id : check-merge-conflict
11
11
- id : check-toml
12
12
- id : check-xml
13
13
- id : check-yaml
14
+ args : [--unsafe]
14
15
- id : detect-private-key
15
16
- id : end-of-file-fixer
16
17
- id : mixed-line-ending
17
18
- id : trailing-whitespace
18
19
args : [--markdown-linebreak-ext=md]
19
20
20
21
- repo : https://github.com/igorshubovych/markdownlint-cli
21
- rev : v0.31.1
22
+ rev : v0.32.2
22
23
hooks :
23
24
- id : markdownlint
24
25
args : [-c, .markdownlint.yaml, --fix]
25
26
26
27
- repo : https://github.com/pre-commit/mirrors-prettier
27
- rev : v2.7.1
28
+ rev : v3.0.0-alpha.4
28
29
hooks :
29
30
- id : prettier
30
31
31
32
- repo : https://github.com/adrienverge/yamllint
32
- rev : v1.26.3
33
+ rev : v1.28.0
33
34
hooks :
34
35
- id : yamllint
35
36
@@ -60,22 +61,30 @@ repos:
60
61
- id : isort
61
62
62
63
- repo : https://github.com/psf/black
63
- rev : 22.6 .0
64
+ rev : 22.10 .0
64
65
hooks :
65
66
- id : black
66
67
args : [--line-length=100]
67
68
68
69
- repo : https://github.com/pre-commit/mirrors-clang-format
69
- rev : v14 .0.6
70
+ rev : v15 .0.4
70
71
hooks :
71
72
- id : clang-format
72
73
types_or : [c++, c, cuda]
73
74
74
75
- repo : https://github.com/cpplint/cpplint
75
- rev : 1.6.0
76
+ rev : 1.6.1
76
77
hooks :
77
78
- id : cpplint
78
79
args : [--quiet]
79
80
exclude : .cu
80
81
81
- exclude : .svg
82
+ - repo : local
83
+ hooks :
84
+ - id : prettier-svg
85
+ name : prettier svg
86
+ description : Apply Prettier with plugin-xml to svg.
87
+ entry : prettier --write --list-different --ignore-unknown --print-width 200 --xml-self-closing-space false --xml-whitespace-sensitivity ignore
88
+ language : node
89
+ files : .svg$
90
+ additional_dependencies : [prettier@2.7.1, "@prettier/plugin-xml@2.2.0"]
Original file line number Diff line number Diff line change 1
1
extends : default
2
2
3
3
ignore : |
4
- .clang-tidy
5
4
*.param.yaml
6
5
7
6
rules :
You can’t perform that action at this time.
0 commit comments