Skip to content

Commit 3429086

Browse files
committed
switch to clang format version 19 to match arch local version
1 parent d8423ae commit 3429086

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/programming_team_code_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
sudo apt install -y wget software-properties-common
4040
wget -O - https://apt.llvm.org/llvm.sh | sudo bash
4141
- name: Install dependencies
42-
run: sudo apt update && sudo apt install -y clang-format-18 cppcheck
42+
run: sudo apt update && sudo apt install -y clang-format-19 cppcheck
4343
- name: checks format then lints
4444
run: make --directory=tests/ check_format_lint
4545

@@ -126,7 +126,7 @@ jobs:
126126
sudo apt install -y wget software-properties-common
127127
wget -O - https://apt.llvm.org/llvm.sh | sudo bash
128128
- name: Install dependencies
129-
run: sudo apt update && sudo apt install -y clang-format-18
129+
run: sudo apt update && sudo apt install -y clang-format-19
130130
- name: Combine includes and force push to main branch
131131
run: |
132132
git config --local user.name github-actions

tests/scripts/check_format_lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ find ../library/ library_checker_aizu_tests/ -name "*[A-Z]*" -or -name "*-*" |
3636
grep --invert-match "README" &&
3737
exit 1
3838

39-
clang-format-18 --dry-run --Werror --style=file:.config/.clang-format library_checker_aizu_tests/**/*.hpp ../library/**/*.hpp ../library/**/*.cpp || exit 1
39+
clang-format-19 --dry-run --Werror --style=file:.config/.clang-format library_checker_aizu_tests/**/*.hpp ../library/**/*.hpp ../library/**/*.cpp || exit 1
4040

4141
git submodule init
4242
git submodule update

tests/scripts/do_format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# ** glob now searches any number of levels
33
shopt -s globstar
44

5-
clang-format-18 -i --style=file:.config/.clang-format ../**/*.hpp ../**/*.cpp
5+
clang-format-19 -i --style=file:.config/.clang-format ../**/*.hpp ../**/*.cpp

0 commit comments

Comments
 (0)