[llvm] [ci] Bump the version of clang-format used in the CI (PR #119915)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 11:09:57 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Louis Dionne (ldionne)
<details>
<summary>Changes</summary>
The version of clang-format we use in the CI to format all PRs is a bit outdated, leading to some confusion when the CI job produces different output from what people have locally.
We should decide on a policy for updating this version since it impacts the whole monorepo, and we should document the version currently in use somewhere (in the Contributing docs?). We should also decide on a policy for whether to re-apply clang-format to the whole codebase whenever we change this version.
---
Full diff: https://github.com/llvm/llvm-project/pull/119915.diff
1 Files Affected:
- (modified) .github/workflows/pr-code-format.yml (+1-1)
``````````diff
diff --git a/.github/workflows/pr-code-format.yml b/.github/workflows/pr-code-format.yml
index f2bb37316d3a8b..5eb017737e853d 100644
--- a/.github/workflows/pr-code-format.yml
+++ b/.github/workflows/pr-code-format.yml
@@ -60,7 +60,7 @@ jobs:
- name: Install clang-format
uses: aminya/setup-cpp at v1
with:
- clangformat: 18.1.7
+ clangformat: 19.1.5
- name: Setup Python env
uses: actions/setup-python at v5
``````````
</details>
https://github.com/llvm/llvm-project/pull/119915
More information about the llvm-commits
mailing list