Skip to content

Commit 2a4885e

Browse files
authored
[FIX] Fix Reset Template (#7)
Co-authored-by: root <>
1 parent c1e0ad2 commit 2a4885e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Run format script
3838
shell: bash
3939
run: |
40-
bash ./.templates/common/scripts/format.sh -cxx -py \
40+
bash ./.templates/common/scripts/format.sh -cxx -py \
4141
--clang-format-config=./.templates/common/.clang-format
4242
4343
- name: Check for Uncommitted Changes

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,16 @@ jobs:
2929
- name: Install formatter
3030
shell: bash
3131
run: |
32-
wget https://apt.llvm.org/llvm.sh && sudo bash ./llvm.sh 20 && rm ./llvm.sh
33-
sudo apt-get install clang-format-20
34-
sudo ln -sf $(which clang-format-20) /usr/bin/clang-format
32+
wget https://apt.llvm.org/llvm.sh && sudo bash ./llvm.sh 19 && rm ./llvm.sh
33+
sudo apt-get install clang-format-19
34+
sudo ln -sf $(which clang-format-19) /usr/bin/clang-format
3535
python -m pip install black
3636
3737
- name: Run format script
3838
shell: bash
3939
run: |
40-
bash ./.templates/common/scripts/format.sh -cxx -py --clang-format-config=./.templates/common/.clang-format
40+
bash ./.templates/common/scripts/format.sh -cxx -py \
41+
--clang-format-config=./.templates/common/.clang-format
4142
4243
- name: Check for Uncommitted Changes
4344
shell: bash

0 commit comments

Comments
 (0)