Skip to content

Commit

Permalink
Add linter workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiktor-99 committed Jul 10, 2024
1 parent 02ea8bb commit b34dac3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yaml
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-noble-ros-rolling-ros-base-latest
strategy:
fail-fast: false
matrix:
linter: [xmllint, cpplint, uncrustify, pep257, flake8]
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
with:
linter: ${{ matrix.linter }}
distribution: rolling
package-name: "*"

0 comments on commit b34dac3

Please sign in to comment.