Skip to content

Commit ea97dbc

Browse files
authored
Merge pull request #1158 from KhronosGroup/clang-format-update
[CI] Update clang-format version to 18.
2 parents 712e489 + d79b181 commit ea97dbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cts_ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
8787
check-clang-format:
8888
if: github.event_name == 'pull_request'
89-
runs-on: "ubuntu-22.04"
89+
runs-on: "ubuntu-24.04"
9090
steps:
9191
- name: Checkout
9292
uses: actions/checkout@v3
@@ -95,7 +95,7 @@ jobs:
9595
- name: Run clang-format on changed files
9696
run: |
9797
set -o errexit -o pipefail -o noclobber -o nounset
98-
DIFF=$( git diff -U0 --no-color ${{ github.event.pull_request.base.sha }} | clang-format-diff-14 -p1 )
98+
DIFF=$( git diff -U0 --no-color ${{ github.event.pull_request.base.sha }} | clang-format-diff-18 -p1 )
9999
if [ ! -z "$DIFF" ]; then
100100
echo 'The following changes are not formatted according to `clang-format`:' >> $GITHUB_STEP_SUMMARY
101101
echo '```diff' >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)