Skip to content

Commit 8578433

Browse files
authored
Update GHA (#128)
1 parent 5168a83 commit 8578433

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
name: ${{ matrix.env.IMAGE }}${{ matrix.env.CLANG_TIDY && ' + clang-tidy' || '' }}
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
3737
with:
3838
fetch-depth: 0
3939
- name: cache upstream_ws
40-
uses: pat-s/always-upload-cache@v2.1.5
40+
uses: pat-s/always-upload-cache@v3
4141
with:
4242
path: ${{ env.BASEDIR }}/upstream_ws
4343
key: upstream_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('moveit_visual_tools.repos') }}-${{ github.run_id }}
@@ -46,7 +46,7 @@ jobs:
4646
# The target directory cache doesn't include the source directory because
4747
# that comes from the checkout. See "prepare target_ws for cache" task below
4848
- name: cache target_ws
49-
uses: pat-s/always-upload-cache@v2.1.5
49+
uses: pat-s/always-upload-cache@v3
5050
with:
5151
path: ${{ env.BASEDIR }}/target_ws
5252
key: target_ws-${{ env.CACHE_PREFIX }}-${{ hashFiles('**/CMakeLists.txt', '**/package.xml') }}-${{ github.run_id }}

.github/workflows/format.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ jobs:
1515
name: Format
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions/setup-python@v2
18+
- uses: actions/checkout@v3
2019
- name: Install clang-format-12
2120
run: sudo apt-get install clang-format-12
22-
- uses: pre-commit/action@v2.0.3
21+
- uses: pre-commit/action@v3.0.0

.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: v3.4.0
18+
rev: v4.4.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: 22.3.0
36+
rev: 23.3.0
3737
hooks:
3838
- id: black
3939

launch/demo_rviz.launch.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@ def load_file(package_name, file_path):
4040
try:
4141
with open(absolute_file_path, "r") as file:
4242
return file.read()
43-
except EnvironmentError: # parent of IOError, OSError *and* WindowsError where available
43+
except EnvironmentError: # parent of IOError, OSError, WindowsError
4444
return None
4545

4646

4747
def generate_launch_description():
48-
4948
robot_description_config = load_file("moveit_visual_tools", "resources/rrbot.urdf")
5049

5150
robot_description = {"robot_description": robot_description_config}

0 commit comments

Comments
 (0)