You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
ROS 2 Lint Action
0.0.5
This action runs ROS 2 linters on a ROS 2 package.
See action.yml
Basic:
steps:
- uses: actions/checkout@v1
- uses: ros-tooling/setup-ros2@master
- uses: ros-tooling/action-ros2-lint@master
with:
package-name: your_package_name
Run generic and Python linters:
jobs:
ament_lint:
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
linter: [copyright, flake8, mypy, pep257, pep8, xmllint]
steps:
- uses: actions/checkout@v1
- uses: ros-tooling/setup-ros2@master
- uses: ros-tooling/action-ros2-lint@master
with:
linter: ${{ matrix.linter }}
package-name: your_package_name
The scripts and documentation in this project are released under the Apache 2