Skip to content

Commit 38cfc23

Browse files
committed
--amend
1 parent 5a8bcab commit 38cfc23

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/ci-auto-format-and-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
shell: bash
3131
run: |
3232
wget https://apt.llvm.org/llvm.sh && sudo bash ./llvm.sh 21 && rm ./llvm.sh
33-
sudo apt-get install clang-format21-
33+
sudo apt-get install clang-format-21
3434
sudo ln -sf $(which clang-format-21) /usr/bin/clang-format
3535
python -m pip install black
3636

.templates/common/.github/workflows/ci-auto-format-and-commit.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,12 @@ jobs:
2828

2929
- name: Install formatter
3030
shell: bash
31-
# [TODO] It seems like ubuntu-latest (24.04) in github actions does not
32-
# have llvm-20 in the apt repository yet. I will change the
33-
# version to 20 when it is available.
3431
run: |
3532
wget https://apt.llvm.org/llvm.sh
36-
sudo chmod +x ./llvm.sh && sudo ./llvm.sh 19 && rm ./llvm.sh
33+
sudo chmod +x ./llvm.sh && sudo ./llvm.sh 21 && rm ./llvm.sh
3734
sudo apt-get update
38-
sudo apt-get install clang-format-19
39-
sudo ln -sf $(which clang-format-19) /usr/bin/clang-format
35+
sudo apt-get install clang-format-21
36+
sudo ln -sf $(which clang-format-21) /usr/bin/clang-format
4037
python -m pip install black
4138
4239
- name: Run format script

.templates/reset/.github/workflows/ci-auto-format-and-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
shell: bash
3131
run: |
3232
wget https://apt.llvm.org/llvm.sh && sudo bash ./llvm.sh 21 && rm ./llvm.sh
33-
sudo apt-get install clang-format21-
33+
sudo apt-get install clang-format-21
3434
sudo ln -sf $(which clang-format-21) /usr/bin/clang-format
3535
python -m pip install black
3636

0 commit comments

Comments
 (0)