From 372b8c574dbfad2626348822f5b30e6f038d5ec6 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 23 Jan 2023 11:46:28 +0100 Subject: [PATCH] ci: fix failing clang-format-15 via apt.llvm.org (#1490) --- .github/workflows/update-header-pr.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-header-pr.yml b/.github/workflows/update-header-pr.yml index 55bf6ca..67fc8e1 100644 --- a/.github/workflows/update-header-pr.yml +++ b/.github/workflows/update-header-pr.yml @@ -20,7 +20,11 @@ jobs: submodules: recursive - name: Install libraries - run: sudo apt install clang-format-15 + run: | + wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - + sudo echo "deb http://apt.llvm.org/unstable/ llvm-toolchain-15 main" > sudo tee -a "/etc/apt/sources.list.d/llvm.list" + sudo apt-get update + sudo apt-get install -y clang-format-15 - name: Update Submodules run: |