Skip to content

Commit 177742b

Browse files
committed
Update GHA
1 parent d78323a commit 177742b

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/format.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ on:
88
pull_request:
99
push:
1010

11+
permissions:
12+
contents: read # to fetch code (actions/checkout)
13+
1114
jobs:
1215
pre-commit:
1316
name: Format
14-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-20.04
1518
steps:
16-
- uses: actions/checkout@v2
17-
- uses: actions/setup-python@v2
19+
- uses: actions/checkout@v3
1820
- name: Install clang-format-10
1921
run: sudo apt-get install clang-format-10
20-
- uses: pre-commit/action@v2.0.0
22+
- uses: pre-commit/action@v3.0.0

.github/workflows/industrial_ci_action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
BEFORE_RUN_TARGET_TEST: "sudo apt-get -qq install -y locales; sudo locale-gen nl_NL.UTF-8"
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v2
21-
- uses: actions/cache@v2
20+
- uses: actions/checkout@v3
21+
- uses: actions/cache@v3
2222
with:
2323
path: ${{ env.CCACHE_DIR }}
24-
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}-${{ github.sha }}
24+
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}-${{ github.sha }}
2525
restore-keys: |
2626
ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
2727
- uses: 'ros-industrial/industrial_ci@master'

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
name: "${{ matrix.distro }}"
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- name: industrial_ci
2626
uses: ros-industrial/industrial_ci@master

0 commit comments

Comments
 (0)