Skip to content

Commit

Permalink
cpp workflow: check hpp files with roslint (#30)
Browse files Browse the repository at this point in the history
* Include hpp files in the list of files to check with roslint
* Add header option for roslint
  • Loading branch information
f-fl0 authored Nov 30, 2023
1 parent 7201d22 commit de47251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
default: true
cpp-roslint-opts:
type: string
default: --filter=-runtime/references,-build/c++11
default: --filter=-runtime/references,-build/c++11 --headers=h,hpp
files:
type: string
outputs:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
files_to_check="${{ inputs.files }}"
if [ -z "${files_to_check}" ]; then
files_to_check=$(find . -name "*.cpp" -o -name "*.h")
files_to_check=$(find . -name "*.cpp" -o -name "*.h" -o -name "*.hpp")
fi
(
Expand Down

0 comments on commit de47251

Please sign in to comment.