diff --git a/.github/actions/set-package-list/action.yml b/.github/actions/set-package-list/action.yml index 6f5f58b..10e127a 100644 --- a/.github/actions/set-package-list/action.yml +++ b/.github/actions/set-package-list/action.yml @@ -4,7 +4,6 @@ description: 'Get a list of packages in the given path' inputs: path: description: 'Path to the repository after checkout' - required: true outputs: package_list: description: "A white-space separated list of packages" diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 05a48fc..184406d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,3 +11,5 @@ updates: directory: "/" schedule: interval: "weekly" + ignore: + - dependency-name: "codecov/codecov-action" diff --git a/.github/workflows/reusable-build-coverage.yml b/.github/workflows/reusable-build-coverage.yml index 8c61170..5c266a7 100644 --- a/.github/workflows/reusable-build-coverage.yml +++ b/.github/workflows/reusable-build-coverage.yml @@ -15,10 +15,6 @@ on: CODECOV_TOKEN: required: true -env: - # this will be src/{repo-owner}/{repo-name} - path: src/${{ github.repository }} - jobs: coverage: name: coverage build ${{ inputs.ros_distro }} @@ -28,12 +24,8 @@ jobs: with: required-ros-distributions: ${{ inputs.ros_distro }} - uses: actions/checkout@v4 - with: - path: ${{ env.path }} - id: package_list_action uses: ros-controls/ros2_control_ci/.github/actions/set-package-list@master - with: - path: ${{ env.path }} - uses: ros-tooling/action-ros-ci@0.3.6 with: target-ros2-distro: ${{ inputs.ros_distro }} @@ -50,9 +42,6 @@ jobs: } } colcon-mixin-repository: https://raw.githubusercontent.com/colcon/colcon-mixin-repository/master/index.yaml - - name: Workaround for codecov/feedback#263 - run: | - git config --global --add safe.directory "$GITHUB_WORKSPACE" - uses: codecov/codecov-action@v4 with: fail_ci_if_error: true @@ -60,7 +49,6 @@ jobs: flags: unittests name: codecov-umbrella token: ${{ secrets.CODECOV_TOKEN }} - working-directory: ${{ env.path }} verbose: true - uses: actions/upload-artifact@v4.3.1 diff --git a/.github/workflows/reusable-rhel-binary-build.yml b/.github/workflows/reusable-rhel-binary-build.yml index 3c73f62..6220897 100644 --- a/.github/workflows/reusable-rhel-binary-build.yml +++ b/.github/workflows/reusable-rhel-binary-build.yml @@ -61,8 +61,9 @@ jobs: if [[ -n "${{ inputs.upstream_workspace }}" ]]; then vcs import src < ${{ env.path }}/${{ inputs.upstream_workspace }} fi - rosdep update - rosdep install -iyr --from-path src || true + dnf check-update || true # update the cache but don't fail if there are updates available + rosdep update --rosdistro ${{ inputs.ros_distro }} + rosdep install -iyr --from-path src || true # ignore errors, as some packages might not be available - id: package_list_action uses: ros-controls/ros2_control_ci/.github/actions/set-package-list@master with: