Skip to content

Commit

Permalink
adding github action lint (ros-navigation#4036)
Browse files Browse the repository at this point in the history
* adding github action lint

* move linting file

Signed-off-by: Steve Macenski <[email protected]>

* try all wildcard

* stringify

* removing copyright check

---------

Signed-off-by: Steve Macenski <[email protected]>
Signed-off-by: enricosutera <[email protected]>
  • Loading branch information
SteveMacenski authored and enricosutera committed May 19, 2024
1 parent d1cd43f commit 06daeb4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint
on:
pull_request:

jobs:
ament_lint_general:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-latest
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
strategy:
fail-fast: false
matrix:
linter: [xmllint, cpplint, uncrustify, pep257, flake8]
steps:
- uses: actions/checkout@v2
- uses: ros-tooling/[email protected]
with:
linter: ${{ matrix.linter }}
distribution: rolling
package-name: "*"

0 comments on commit 06daeb4

Please sign in to comment.