From d69d9b0128964613108f9e5a3b583d6397406708 Mon Sep 17 00:00:00 2001 From: Felix Exner Date: Mon, 17 Feb 2025 11:09:47 +0100 Subject: [PATCH 1/2] Run ci-ros-lint on a ubuntu-latest runner No reason to run it on a specific version and 20.04 will run out of support. --- .github/workflows/ci-ros-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-ros-lint.yml b/.github/workflows/ci-ros-lint.yml index c29bfaa..066b74a 100644 --- a/.github/workflows/ci-ros-lint.yml +++ b/.github/workflows/ci-ros-lint.yml @@ -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: From ab50c6960d64712083e5edfea64b1e50a916af1a Mon Sep 17 00:00:00 2001 From: Felix Exner Date: Mon, 17 Feb 2025 10:17:46 +0000 Subject: [PATCH 2/2] Run linters on humble --- .github/workflows/ci-ros-lint.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-ros-lint.yml b/.github/workflows/ci-ros-lint.yml index 066b74a..de56df7 100644 --- a/.github/workflows/ci-ros-lint.yml +++ b/.github/workflows/ci-ros-lint.yml @@ -6,16 +6,20 @@ jobs: ament_lint: name: ament_${{ matrix.linter }} runs-on: ubuntu-latest + container: + image: ubuntu:jammy strategy: fail-fast: false matrix: linter: [copyright, lint_cmake] steps: - - uses: actions/checkout@v1 - - uses: ros-tooling/setup-ros@v0.2 + - uses: actions/checkout@v4 + - uses: ros-tooling/setup-ros@v0.7 + with: + required-ros-distributions: humble - uses: ros-tooling/action-ros-lint@v0.1 with: - distribution: rolling + distribution: humble linter: ${{ matrix.linter }} package-name: ur_simulation_gazebo