File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 21
21
container : ros:humble
22
22
build-depends-repos : build_depends.repos
23
23
steps :
24
- - name : Cancel previous runs
25
- uses : styfle/cancel-workflow-action@0.10.0
26
-
27
24
- name : Check out repository
28
25
uses : actions/checkout@v3
29
26
with :
64
61
65
62
clang-tidy-differential :
66
63
runs-on : ubuntu-latest
67
- container : ros:galactic
64
+ container : ros:humble
68
65
needs : build-and-test-differential
69
66
steps :
70
67
- name : Check out repository
@@ -79,11 +76,20 @@ jobs:
79
76
id : get-modified-packages
80
77
uses : autowarefoundation/autoware-github-actions/get-modified-packages@v1
81
78
79
+ - name : Get modified files
80
+ id : get-modified-files
81
+ uses : tj-actions/changed-files@v30
82
+ with :
83
+ files : |
84
+ **/*.cpp
85
+ **/*.hpp
86
+
82
87
- name : Run clang-tidy
83
- if : ${{ steps.get-modified-packages .outputs.modified-packages != '' }}
88
+ if : ${{ steps.get-modified-files .outputs.all_changed_files != '' }}
84
89
uses : autowarefoundation/autoware-github-actions/clang-tidy@v1
85
90
with :
86
- rosdistro : galactic
91
+ rosdistro : humble
87
92
target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
93
+ target-files : ${{ steps.get-modified-files.outputs.all_changed_files }}
88
94
clang-tidy-config-url : https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
89
95
build-depends-repos : build_depends.repos
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