CI: Update clang-format version to 19.1.1
This commit is contained in:
parent
cfb23a51ff
commit
6282384977
2 changed files with 11 additions and 11 deletions
8
.github/actions/run-clang-format/action.yaml
vendored
8
.github/actions/run-clang-format/action.yaml
vendored
|
|
@ -35,7 +35,7 @@ runs:
|
|||
echo ::group::Install Dependencies
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
|
||||
echo "/home/linuxbrew/.linuxbrew/opt/clang-format@17/bin" >> $GITHUB_PATH
|
||||
echo "/home/linuxbrew/.linuxbrew/opt/clang-format@19/bin" >> $GITHUB_PATH
|
||||
brew install --quiet zsh
|
||||
echo ::endgroup::
|
||||
|
||||
|
|
@ -50,11 +50,11 @@ runs:
|
|||
: Run clang-format 🐉
|
||||
if (( ${+RUNNER_DEBUG} )) setopt XTRACE
|
||||
|
||||
print ::group::Install clang-format-17
|
||||
brew install --quiet obsproject/tools/clang-format@17
|
||||
print ::group::Install clang-format-19
|
||||
brew install --quiet obsproject/tools/clang-format@19
|
||||
print ::endgroup::
|
||||
|
||||
print ::group::Run clang-format-17
|
||||
print ::group::Run clang-format-19
|
||||
local -a changes=(${(s:,:)CHANGED_FILES//[\[\]\'\"]/})
|
||||
./build-aux/run-clang-format --fail-${{ inputs.failCondition }} --check ${changes}
|
||||
print ::endgroup::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue