Skip to content

Commit

Permalink
feat(check): Expose the full clang-format version
Browse files Browse the repository at this point in the history
Resolves: #168
  • Loading branch information
jidicula committed May 19, 2024
1 parent 5de59b7 commit ef8418b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ fi
# initialize exit code
exit_code=0

# output clang-format version
docker run \
--volume "$(pwd)":"$(pwd)" \
--workdir "$(pwd)" \
ghcr.io/jidicula/clang-format:"$CLANG_FORMAT_MAJOR_VERSION" --version

# All files improperly formatted will be printed to the output.
src_files=$(find "$CHECK_PATH" -name .git -prune -o -regextype posix-egrep -regex "$INCLUDE_REGEX" -print)

Expand Down

0 comments on commit ef8418b

Please sign in to comment.