From c183b9b6191270e53a643c3bc8c726cb23e69ed4 Mon Sep 17 00:00:00 2001 From: mcbarton Date: Tue, 4 Feb 2025 10:52:14 +0000 Subject: [PATCH] Fix clang-format workflow --- .github/workflows/clang-format.yml | 5 ----- src/main.cpp | 1 - 2 files changed, 6 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 79ec304b..bc36f407 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -33,11 +33,6 @@ jobs: sudo apt update sudo apt install -y clang-format-18 - - name: Download git-clang-format - run: | - wget https://raw.githubusercontent.com/llvm/llvm-project/main/clang/tools/clang-format/git-clang-format - chmod +x git-clang-format - - name: Run git-clang-format run: | PR_BASE=$(git rev-list ${{ github.event.pull_request.head.sha }} ^${{ github.event.pull_request.base.sha }} | tail --lines 1 | xargs -I {} git rev-parse {}~1) diff --git a/src/main.cpp b/src/main.cpp index 7896b2ec..a77bd601 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,7 +5,6 @@ * * * The full license is in the file LICENSE, distributed with this software. * ****************************************************************************/ - #include #include #include