From 4a3bd953cb8310ebfb52510c9c98089a098b8eee Mon Sep 17 00:00:00 2001 From: Otto Date: Wed, 3 Mar 2021 11:05:55 +0100 Subject: [PATCH] Lets move to bullseye which has more modern clang-format-11 --- .circleci/config.yml | 5 ++--- build-scripts/format-code | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2a0a661474..c43545f02e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -531,7 +531,7 @@ jobs: check-formatting: docker: - - image: debian:buster + - image: debian:bullseye auth: username: powerdnsreadonly password: $DOCKERHUB_PASSWORD @@ -539,9 +539,8 @@ jobs: - run: name: Install dependencies command: | - echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list apt-get update && apt-get -qq --no-install-recommends install git - apt-get -qq -t buster-backports --no-install-recommends install clang-format-8 + apt-get -qq --no-install-recommends install clang-format-11 - get-workspace - run: name: Check formatting diff --git a/build-scripts/format-code b/build-scripts/format-code index 870d793bed..62914f5648 100755 --- a/build-scripts/format-code +++ b/build-scripts/format-code @@ -28,7 +28,7 @@ if [ x$CIRCLECI = xtrue ]; then verbose=0 fi -FORMAT=clang-format-8 +FORMAT=clang-format-11 if ! which $FORMAT 2> /dev/null; then FORMAT=clang-format fi -- 2.47.3