Skip to content

Commit b49117c

Browse files
authored
CI: Update actions (#259)
1 parent 0b7dc48 commit b49117c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/format.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19-
- uses: actions/setup-python@v5
2019
- name: Install clang-format-14
2120
run: sudo apt-get install clang-format-14
22-
- uses: pre-commit/[email protected].0
21+
- uses: pre-commit/[email protected].1

.github/workflows/industrial_ci_action.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,24 @@ jobs:
4242
# that comes from the checkout. See "prepare target_ws for cache" task below
4343
- name: cache target_ws
4444
if: ${{ ! matrix.env.CCOV }}
45-
uses: pat-s/always-upload-cache@v3
45+
uses: actions/cache@v4
4646
with:
47+
save-always: true
4748
path: ${{ env.BASEDIR }}/target_ws
4849
key: target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}-${{ github.run_id }}
4950
restore-keys: |
5051
target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}
5152
- name: cache ccache
52-
uses: pat-s/always-upload-cache@v3
53+
uses: actions/cache@v4
5354
with:
55+
save-always: true
5456
path: ${{ env.CCACHE_DIR }}
5557
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }}
5658
restore-keys: |
5759
ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
5860
ccache-${{ env.CACHE_PREFIX }}
5961
- name: industrial_ci
60-
uses: 'ros-industrial/industrial_ci@master'
62+
uses: ros-industrial/industrial_ci@master
6163
env: ${{ matrix.env }}
6264
- name: upload test artifacts (on failure)
6365
uses: actions/upload-artifact@v4
@@ -66,7 +68,7 @@ jobs:
6668
name: test-results
6769
path: ${{ env.BASEDIR }}/target_ws/**/test_results/**/*.xml
6870
- name: upload codecov report
69-
uses: codecov/codecov-action@v3
71+
uses: codecov/codecov-action@v4
7072
if: ${{ matrix.env.CCOV }}
7173
with:
7274
files: ${{ env.BASEDIR }}/coverage.info

0 commit comments

Comments
 (0)