Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: update actions
Browse files Browse the repository at this point in the history
rhaschke committed Apr 9, 2024
1 parent 1d9d695 commit 8e7f7ea
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ jobs:
name: "${{ matrix.distro }} mj-${{ matrix.mujoco }}${{ matrix.env.CATKIN_LINT && ' + catkin_lint' || ''}}${{ matrix.env.CCOV && ' + ccov' || ''}}${{ matrix.env.CLANG_TIDY && (github.event_name != 'workflow_dispatch' && ' + clang-tidy (delta)' || ' + clang-tidy (all)') || '' }}"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache upstream workspace
uses: rhaschke/cache@main
with:
@@ -110,7 +110,7 @@ jobs:
uses: rhaschke/industrial_ci@ros-one

- name: Upload test artifacts (on failure)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure() && (steps.ici.outputs.run_target_test || steps.ici.outputs.target_test_results)
with:
name: test-results-${{ matrix.distro }}
@@ -123,7 +123,7 @@ jobs:
workdir: ${{ env.BASEDIR }}/target_ws
ignore: '"*/target_ws/build/*" "*/target_ws/install/*" "*/test/*"'
- name: Upload codecov report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
if: always() && matrix.env.CCOV && steps.ici.outputs.target_test_results == '0'
with:
files: ${{ env.BASEDIR }}/target_ws/coverage.info
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ jobs:

steps:
- name: Check for apt updates
uses: rhaschke/docker-run-action@v4
uses: rhaschke/docker-run-action@main
continue-on-error: true
id: apt
with:
4 changes: 2 additions & 2 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
@@ -13,13 +13,13 @@ jobs:
name: pre-commit
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install clang-format
run: sudo apt-get update && sudo apt-get install clang-format -y
# Catkin lint is installed but not included in pre-commit
- name: Install catkin_lint
uses: DavidPL1/install-catkin_lint-action@ros2
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1
id: precommit
- name: Upload pre-commit changes
if: failure() && steps.precommit.outcome == 'failure'

0 comments on commit 8e7f7ea

Please sign in to comment.