From 38c94f4cbf23e01b7f7d0654969ad2d9f32726ec Mon Sep 17 00:00:00 2001 From: Will Son Date: Sun, 13 Jun 2021 17:49:53 +0900 Subject: [PATCH] fix ci --- .github/workflows/lint.yml | 31 +++++-------------------------- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fb84f0f8..26c37476 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,46 +6,25 @@ name: Lint # events but only for the master branch on: push: - branches: [ ros2, ros2-devel, dashing-devel, foxy-devel, galactic-devel ] + branches: [ ros2, ros2-devel, galactic-devel ] pull_request: - branches: [ ros2, ros2-devel ] + branches: [ ros2, ros2-devel, galactic-devel ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - ament_lint_dashing: - runs-on: ubuntu-18.04 - strategy: - fail-fast: false - matrix: - linter: [copyright, cppcheck, cpplint, flake8, pep257, xmllint] - distribution: [dashing] - steps: - - uses: actions/checkout@v1 - - uses: ros-tooling/setup-ros@v0.1 - - uses: ros-tooling/action-ros-lint@v0.1 - with: - distribution: ${{ matrix.distribution }} - linter: ${{ matrix.linter }} - package-name: - turtlebot3_simulations - turtlebot3_fake_node - turtlebot3_gazebo - - ament_lint_foxy: + ament_lint_galactic: runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: linter: [copyright, cppcheck, cpplint, flake8, pep257, xmllint] - distribution: [foxy] + distribution: [galactic] steps: - uses: actions/checkout@v1 - - uses: ros-tooling/setup-ros@v0.2.1 + - uses: ros-tooling/setup-ros@0.2.1 - uses: ros-tooling/action-ros-lint@v0.1 with: distribution: ${{ matrix.distribution }} linter: ${{ matrix.linter }} package-name: turtlebot3_simulations - turtlebot3_fake_node - turtlebot3_gazebo