[CM] Better readability and maintainability: rename variables, move code to more logical places 🔧 #1250
Workflow file for this run
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: ROS Lint | |
on: | |
pull_request: | |
jobs: | |
ament_lint: | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [cppcheck, copyright, lint_cmake] | |
env: | |
AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
- uses: ros-tooling/[email protected] | |
with: | |
distribution: rolling | |
linter: ${{ matrix.linter }} | |
package-name: | |
controller_interface | |
controller_manager | |
controller_manager_msgs | |
hardware_interface | |
ros2controlcli | |
ros2_control | |
ros2_control_test_assets | |
transmission_interface | |
ament_lint_100: | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [cpplint] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
- uses: ros-tooling/[email protected] | |
with: | |
distribution: rolling | |
linter: cpplint | |
arguments: "--linelength=100 --filter=-whitespace/newline" | |
package-name: | |
controller_interface | |
controller_manager | |
controller_manager_msgs | |
hardware_interface | |
ros2controlcli | |
ros2_control | |
ros2_control_test_assets | |
transmission_interface |