Skip to content

Commit ec3ba4b

Browse files
committed
CI: Update actions
1 parent 55f802f commit ec3ba4b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/format.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- name: Install clang-format-14
1818
run: sudo apt-get install clang-format-14
19-
- uses: pre-commit/[email protected]
19+
- uses: actions/setup-python@v5
20+
with:
21+
python-version: 3.x
22+
- uses: pre-commit/[email protected]

.github/workflows/industrial_ci_action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,19 @@ jobs:
3636
steps:
3737
- uses: actions/checkout@v4
3838
- name: cache ccache
39-
uses: pat-s/always-upload-cache@v3
39+
uses: rhaschke/cache@main
4040
with:
4141
path: ${{ env.CCACHE_DIR }}
4242
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}
4343
restore-keys: |
4444
ccache-${{ env.CACHE_PREFIX }}
45+
env:
46+
GHA_CACHE_SAVE: always
4547
- name: industrial_ci
46-
uses: 'ros-industrial/industrial_ci@master'
48+
uses: ros-industrial/industrial_ci@master
4749
env: ${{ matrix.env }}
4850
- name: upload test artifacts (on failure)
49-
uses: actions/upload-artifact@v3
51+
uses: actions/upload-artifact@v4
5052
if: failure()
5153
with:
5254
name: test-results

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
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: v5.0.0
1919
hooks:
2020
- id: check-added-large-files
2121
- id: check-case-conflict

0 commit comments

Comments
 (0)