-
Notifications
You must be signed in to change notification settings - Fork 177
43 lines (42 loc) · 1002 Bytes
/
lint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Lint diagnostics
on:
pull_request:
push:
branches:
- ros2-humble
schedule:
# Run every week at 20:00 on Sunday
- cron: "0 20 * * 0"
jobs:
ament_lint:
name: Lint ${{ matrix.linter }}
strategy:
fail-fast: false
matrix:
linter: [
cppcheck,
cpplint,
flake8,
pep257,
uncrustify,
xmllint,
]
include:
- distro: humble
os: ubuntu-22.04
runs-on: ${{ matrix.os }}
env:
AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS: 1
steps:
- uses: actions/checkout@v1
- uses: ros-tooling/setup-ros@master
with:
required-ros-distributions: ${{ matrix.distro }}
- uses: ros-tooling/action-ros-lint@master
with:
linter: ${{ matrix.linter }}
package-name: |
diagnostic_aggregator
diagnostic_common_diagnostics
diagnostic_updater
self_test