From daa52405eeb09dacad9491c6a8d1694d0b5d47ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dietrich=20Kr=C3=B6nke?= Date: Fri, 16 Sep 2022 17:08:34 +0200 Subject: [PATCH] iox-#1640 Use clang-fomat-15 in pre-flight-check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Dietrich Krönke --- .github/actions/install-iceoryx-deps-and-clang/action.yml | 1 + .github/workflows/build-test.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/actions/install-iceoryx-deps-and-clang/action.yml b/.github/actions/install-iceoryx-deps-and-clang/action.yml index 0563fcf7825..0ed50e8fb81 100644 --- a/.github/actions/install-iceoryx-deps-and-clang/action.yml +++ b/.github/actions/install-iceoryx-deps-and-clang/action.yml @@ -16,3 +16,4 @@ runs: sudo ln -s /usr/bin/clang-15 /usr/bin/clang sudo ln -s /usr/bin/clang++-15 /usr/bin/clang++ sudo ln -s /usr/bin/clang-tidy-15 /usr/bin/clang-tidy + sudo ln -s /usr/bin/clang-format-15 /usr/bin/clang-format diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 4db9124d125..6577b02bbe9 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -14,6 +14,8 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 + - name: Install iceoryx dependencies and clang-tidy + uses: ./.github/actions/install-iceoryx-deps-and-clang - run: ./tools/scripts/clang_format.sh check - run: ./tools/scripts/list_stl_dependencies.sh check - run: ./tools/scripts/check_test_ids.sh