Skip to content

Commit

Permalink
Create linter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JatinPatil2003 authored Aug 13, 2024
1 parent a62c2a2 commit 1198226
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint
on:
pull_request:
push:
workflow_dispatch:

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/action-ros-lint@v0.1
with:
linter: ${{ matrix.linter }}
distribution: rolling
package-name: "*"

0 comments on commit 1198226

Please sign in to comment.