Skip to content

Name the linter CI job properly #51

Name the linter CI job properly

Name the linter CI job properly #51

Workflow file for this run

# Run linters automatically on pull requests.
name: Lint
on:
pull_request:
jobs:
ament_linters:
name: ament_${{ linter }}

Check failure on line 8 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 8, Col: 11): Unrecognized named-value: 'linter'. Located at position 1 within expression: linter
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
linter: [copyright, xmllint, cppcheck, cpplint, uncrustify, pep257, flake8]
container:
image: rostooling/setup-ros-docker:ubuntu-focal-ros-rolling-ros-base-latest
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/action-ros-lint@v0.1
with:
linter: ${{ matrix.linter }}
distribution: rolling
package-name: keyboard_handler