summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2021-12-26 18:26:44 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2021-12-26 18:26:44 +0100
commit54fddab074fd39f74ebe329798a861b9a54bf31d (patch)
treed070bf15c71bef86c4b50a103898adfdb3360417
parenta6d0d6fac285c755a8e66061028b80de7c369ab0 (diff)
downloadsigc++-54fddab074fd39f74ebe329798a861b9a54bf31d.tar.gz
CI: Use clang-format-12
and call clang-format directly without using autogen.sh + make.
-rw-r--r--.github/workflows/clang-format-check.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml
index 8f59c40..fd6fb3a 100644
--- a/.github/workflows/clang-format-check.yml
+++ b/.github/workflows/clang-format-check.yml
@@ -14,7 +14,5 @@ jobs:
# Prevent blocking the install on a question during configuring of tzdata.
export ENV DEBIAN_FRONTEND=noninteractive
sudo apt update
- sudo apt install build-essential mm-common clang-format-10 --yes
- sudo ln -sf /usr/bin/clang-format-10 /usr/bin/clang-format
- ./autogen.sh --enable-warnings=fatal
- make check-format
+ sudo apt install clang-format-12 --yes
+ clang-format-12 --dry-run --Werror `find . -name "*.h" -or -name "*.cc"`