Skip to content

Commit

Permalink
Fix ubuntu version in lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Dec 6, 2023
1 parent 1dc52fd commit 4ee7717
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/ros-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
ament_lint:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -22,7 +22,7 @@ jobs:

ament_lint_100:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -37,3 +37,23 @@ jobs:
arguments: "--linelength=100 --filter=-whitespace/newline"
package-name:
control_toolbox

ament_cppcheck:
name: ament_${{ matrix.linter }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
linter: [cppcheck]
env:
AMENT_CPPCHECK_ALLOW_SLOW_VERSIONS: true
steps:
- uses: actions/checkout@v4
- uses: ros-tooling/[email protected]
- uses: ros-tooling/[email protected]
with:
distribution: rolling
linter: ${{ matrix.linter }}
arguments: "--language=c++"
package-name:
control_toolbox

0 comments on commit 4ee7717

Please sign in to comment.