[pre-commit.ci] pre-commit autoupdate #212
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: Ament Lint | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
colcon-build: | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [mypy, xmllint] # A list of all available linters can be found at <https://index.ros.org/r/ament_lint/github-ament-ament_lint/> | |
runs-on: ubuntu-22.04 | |
container: | |
image: ubuntu:22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/setup-ros@v0.7 | |
with: | |
required-ros-distributions: humble # We will have to keep it up-to-date with <https://docs.ros.org/en/foxy/Releases.html> | |
- uses: ros-tooling/action-ros-lint@master | |
with: | |
linter: ${{ matrix.linter }} | |
package-name: ros2autodoc |