Skip to content

Commit 3b2a39c

Browse files
committed
CI: Use clang-19 for format
1 parent 2b7b116 commit 3b2a39c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v4
8+
- name: init
9+
run: |
10+
sudo apt update -yqq && sudo apt install -yqq clang-format-19
11+
sudo update-alternatives --remove-all clang-format
12+
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-19 10
13+
clang-format --version
814
- name: format code
915
run: scripts/format_code.sh
1016
- name: check diff

0 commit comments

Comments
 (0)