From ae50b1e64962508fcd3e4ba44657422df4fedbc3 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Wed, 7 Feb 2024 17:35:17 +0100 Subject: [PATCH] Remove the explicit clang-format workflow since it is part of pre-commit --- .github/workflows/clang-format-check.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/clang-format-check.yml diff --git a/.github/workflows/clang-format-check.yml b/.github/workflows/clang-format-check.yml deleted file mode 100644 index 8a4eda05..00000000 --- a/.github/workflows/clang-format-check.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: clang-format-check - -on: [push, pull_request] - -jobs: - clang-format: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cvmfs-contrib/github-action-cvmfs@v3.1 - - name: Start container - run: | - docker run \ - -it --name k4MW_CI \ - -v ${{ github.workspace }}:/k4MW \ - -v /cvmfs:/cvmfs:shared \ - -d ghcr.io/aidasoft/centos7:latest /bin/bash - - - name: Check Format - run: | - docker exec k4MW_CI /bin/bash -c 'source /cvmfs/sft.cern.ch/lcg/releases/clang/10.0.0-62e61/x86_64-centos7/setup.sh;\ - clang-format -Werror --verbose --dry-run --style=file $(find ./k4MW/ -name "*.cpp" -o -name "*.h" );\ - exit $?;\ - '