Skip to content

Commit 906b0ba

Browse files
committed
CI: Update Ubuntu image
1 parent 367936e commit 906b0ba

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/format.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ on:
1111
jobs:
1212
pre-commit:
1313
name: pre-commit
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
1717
with:
1818
submodules: recursive
19-
- name: Install clang-format-10
20-
run: sudo apt-get install clang-format-10
21-
- uses: rhaschke/install-catkin_lint-action@v1.0
22-
with:
23-
distro: noetic
19+
- name: Install clang-format
20+
run: sudo apt-get install clang-format
21+
- uses: rhaschke/install-catkin_lint-action@main
2422
- uses: pre-commit/action@v3.0.1
2523
id: precommit
2624
- name: Upload pre-commit changes

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repos:
3939
- id: clang-format
4040
name: clang-format
4141
description: Format files with ClangFormat.
42-
entry: clang-format-10
42+
entry: clang-format
4343
language: system
4444
files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$
4545
args: ["-fallback-style=none", "-i"]

0 commit comments

Comments
 (0)