Fix lint issue #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: style | |
on: | |
pull_request: | |
push: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: [self-hosted, ubuntu-24.04] | |
strategy: | |
fail-fast: false | |
matrix: | |
distro: ['iron', 'jazzy', 'rolling'] | |
container: | |
image: ros:${{ matrix.distro }}-ros-base | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: uncrustify | |
run: /ros_entrypoint.sh ament_uncrustify --exclude rmw_zenoh_cpp/src/detail/ordered_hash.hpp rmw_zenoh_cpp/src/detail/ordered_map.hpp rmw_zenoh_cpp/ | |
- name: cpplint | |
run: /ros_entrypoint.sh ament_cpplint --exclude rmw_zenoh_cpp/src/detail/ordered_hash.hpp rmw_zenoh_cpp/src/detail/ordered_map.hpp rmw_zenoh_cpp/ |