Skip to content

Commit 133d1a9

Browse files
adding github action lint (ros-navigation#4036)
* 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]>
1 parent bc76734 commit 133d1a9

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/lint.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Lint
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
ament_lint_general:
7+
name: ament_${{ matrix.linter }}
8+
runs-on: ubuntu-latest
9+
container:
10+
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
linter: [xmllint, cpplint, uncrustify, pep257, flake8]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: ros-tooling/[email protected]
18+
with:
19+
linter: ${{ matrix.linter }}
20+
distribution: rolling
21+
package-name: "*"

0 commit comments

Comments
 (0)