Skip to content

Commit 971fe13

Browse files
committed
CI: Update actions
1 parent cecb7cb commit 971fe13

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ on:
1313
jobs:
1414
industrial_ci:
1515
strategy:
16+
fail-fast: false
1617
matrix:
1718
env:
18-
- IMAGE: galactic-source
19-
CLANG_TIDY: true
2019
- IMAGE: humble-source
2120
- IMAGE: rolling-source
21+
CLANG_TIDY: true
2222

2323
env:
2424
DOCKER_IMAGE: moveit/moveit2:${{ matrix.env.IMAGE }}
@@ -33,35 +33,38 @@ jobs:
3333
name: ${{ matrix.env.IMAGE }}${{ matrix.env.CLANG_TIDY && ' + clang-tidy' || '' }}
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
with:
3838
fetch-depth: 0
3939
- name: cache upstream_ws
40-
uses: pat-s/always-upload-cache@v3
40+
uses: actions/cache@v4
4141
with:
42+
save-always: true
4243
path: ${{ env.BASEDIR }}/upstream_ws
4344
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit_visual_tools.repos') }}-${{ github.run_id }}
4445
restore-keys: |
4546
upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit_visual_tools.repos') }}
4647
# The target directory cache doesn't include the source directory because
4748
# that comes from the checkout. See "prepare target_ws for cache" task below
4849
- name: cache target_ws
49-
uses: pat-s/always-upload-cache@v3
50+
uses: actions/cache@v4
5051
with:
52+
save-always: true
5153
path: ${{ env.BASEDIR }}/target_ws
5254
key: target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}-${{ github.run_id }}
5355
restore-keys: |
5456
target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}
5557
- name: cache ccache
56-
uses: pat-s/always-upload-cache@v2.1.5
58+
uses: actions/cache@v4
5759
with:
60+
save-always: true
5861
path: ${{ env.CCACHE_DIR }}
5962
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }}
6063
restore-keys: |
6164
ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
6265
ccache-${{ env.CACHE_PREFIX }}
6366
- name: industrial_ci
64-
uses: 'ros-industrial/industrial_ci@master'
67+
uses: ros-industrial/industrial_ci@master
6568
env: ${{ matrix.env }}
6669
- name: prepare target_ws for cache
6770
run: |

.github/workflows/format.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88
pull_request:
99
push:
1010
branches:
11-
- main
11+
- ros2
1212

1313
jobs:
1414
pre-commit:
1515
name: Format
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
19-
- name: Install clang-format-12
20-
run: sudo apt-get install clang-format-12
21-
- uses: pre-commit/[email protected].0
18+
- uses: actions/checkout@v4
19+
- name: Install clang-format-14
20+
run: sudo apt-get install clang-format-14
21+
- uses: pre-commit/[email protected].1

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
repos:
1616
# Standard hooks
1717
- repo: https://github.com/pre-commit/pre-commit-hooks
18-
rev: v4.4.0
18+
rev: v4.6.0
1919
hooks:
2020
- id: check-added-large-files
2121
- id: check-case-conflict
@@ -33,7 +33,7 @@ repos:
3333
- id: trailing-whitespace
3434

3535
- repo: https://github.com/psf/black
36-
rev: 23.3.0
36+
rev: 24.8.0
3737
hooks:
3838
- id: black
3939

0 commit comments

Comments
 (0)