Skip to content

Commit

Permalink
[ci] Update clang-format to v18
Browse files Browse the repository at this point in the history
This breaks the previous convention of staying behind one version
after the last major release, because:
  - clang-format's base preset configs change over time (so the same
    config using "BasedOnStyle" may have a slightly different style
    with new clang-format versions),
  - it's a hassle to have one version locally and another in the CI,
  - no-one else is really contributing much at this point.
  • Loading branch information
grandchild committed Oct 6, 2024
1 parent 6b13b8e commit 3f24c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Install clang-format
run: |-
clang_major_version=17
clang_major_version=18
set -x -u -o pipefail
source /etc/os-release
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
Expand Down

0 comments on commit 3f24c16

Please sign in to comment.