Skip to content

Commit 6102b21

Browse files
authored
Run ci-ros-lint on a ubuntu-latest runner (#85)
No reason to run it on a specific version and 20.04 will run out of support.
1 parent 1c13ce0 commit 6102b21

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci-ros-lint.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,21 @@ on:
55
jobs:
66
ament_lint:
77
name: ament_${{ matrix.linter }}
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-latest
9+
container:
10+
image: ubuntu:jammy
911
strategy:
1012
fail-fast: false
1113
matrix:
1214
linter: [copyright, lint_cmake]
1315
steps:
14-
- uses: actions/checkout@v1
15-
- uses: ros-tooling/setup-ros@v0.2
16+
- uses: actions/checkout@v4
17+
- uses: ros-tooling/setup-ros@v0.7
18+
with:
19+
required-ros-distributions: humble
1620
- uses: ros-tooling/action-ros-lint@v0.1
1721
with:
18-
distribution: rolling
22+
distribution: humble
1923
linter: ${{ matrix.linter }}
2024
package-name:
2125
ur_simulation_gazebo

0 commit comments

Comments
 (0)