From ae5f70c26bb258e0d64de2f800d6910cf8d09e97 Mon Sep 17 00:00:00 2001 From: Russel Waters Date: Thu, 16 Jan 2020 20:09:17 -0500 Subject: [PATCH] use clang-format-8 There is some funkiness with clang-format-9 and lambdas that are not honored --- .github/workflows/tests.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7ff4f1b5aa..264870bba9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -24,15 +24,15 @@ jobs: runs-on: ubuntu-18.04 steps: - uses: actions/checkout@50fbc62 - - name: Get Clang 9 + - name: Get clang-format 8 env: DEBIAN_FRONTEND: noninteractive run: | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add - - sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main' -y - sudo apt-get update -y - sudo apt-get install clang-tools-9 clang-format-9 - sudo ln -s /usr/bin/clang-format-9 /usr/bin/clang-format + sudo add-apt-repository 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main' -y + sudo apt update -y + sudo apt install -y clang-format-8 + sudo ln -s /usr/bin/clang-format-8 /usr/bin/clang-format - name: Clang Format run: ci/check-commit-format.sh