File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ on: [pull_request]
44
55jobs :
66 clang-format :
7- # We need at least 20.04 to install clang-format-11.
8- runs-on : ubuntu-20.04
7+ runs-on : ubuntu-24.04
98 steps :
109 - uses : actions/checkout@v2
1110 with :
@@ -16,10 +15,12 @@ jobs:
1615 env :
1716 DEBIAN_FRONTEND : noninteractive
1817 run : |
19- sudo apt update -y
20- sudo apt install -y clang-format-11
21- sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-11 100
22- sudo update-alternatives --install /usr/bin/git-clang-format git-clang-format /usr/bin/git-clang-format-11 100
18+ sudo apt update
19+ sudo apt install -y clang-format-18
20+ sudo update-alternatives --install /usr/bin/clang-format \
21+ clang-format /usr/bin/clang-format-18 100
22+ sudo update-alternatives --install /usr/bin/git-clang-format \
23+ git-clang-format /usr/bin/git-clang-format-18 100
2324 - name : Run clang-format on changed files
2425 run : |
2526 set -x
You can’t perform that action at this time.
0 commit comments