Skip to content

Add guidelines on open source contributions #367

Add guidelines on open source contributions

Add guidelines on open source contributions #367

Workflow file for this run

name: Lint
on:
workflow_dispatch:
pull_request:
jobs:
ament_lint:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-latest
env:
AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS: True
strategy:
fail-fast: false
matrix:
linter: [cppcheck, copyright, lint_cmake]
arguments: [""]
include:
- linter: copyright
arguments: "--exclude docs/conf.py"
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/setup-ros@master
- uses: ros-tooling/action-ros-lint@master
with:
distribution: rolling
linter: ${{ matrix.linter }}
arguments: ${{ matrix.arguments }}
package-name:
ros_team_workspace
ament_lint_100:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
linter: [cpplint]
steps:
- uses: actions/checkout@v3
- uses: ros-tooling/setup-ros@master
- uses: ros-tooling/action-ros-lint@master
with:
distribution: rolling
linter: cpplint
arguments: "--linelength=100 --filter=-whitespace/newline"
package-name:
ros_team_workspace