Skip to content

Commit 94c0060

Browse files
committed
Bump clnag-format to 14
1 parent 1b5cc20 commit 94c0060

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/format.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ on: [pull_request]
44

55
jobs:
66
clang-format:
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-22.04
88
steps:
99
- uses: actions/checkout@v2
1010
with:
1111
ref: ${{ github.event.pull_request.head.sha }}
1212

1313
- name: Install prerequisites
1414
run: |
15-
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 100
16-
sudo update-alternatives --install /usr/bin/git-clang-format git-clang-format /usr/bin/git-clang-format-11 100
15+
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-14 100
16+
sudo update-alternatives --install /usr/bin/git-clang-format git-clang-format /usr/bin/git-clang-format-14 100
1717
1818
- name: Run clang-format on changed files
1919
run: |

0 commit comments

Comments
 (0)