diff --git a/.github/workflows/Lint-cpp-main.yaml b/.github/workflows/Lint-cpp-main.yaml index a82d3ad..5abbd19 100644 --- a/.github/workflows/Lint-cpp-main.yaml +++ b/.github/workflows/Lint-cpp-main.yaml @@ -9,7 +9,7 @@ jobs: cpp-linter: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set Flags run: export USE_CUDA=0 @@ -26,7 +26,7 @@ jobs: - name: Configure CMake # Configure CMake so we can get a compile_commands.json so that clang-tidy won't be angry about missing headers any more - run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DNT_ENABLE_BENCHMARKING=ON -DCMAKE_PREFIX_PATH=`python3 -c 'import torch;print(torch.utils.cmake_prefix_path)'` -B ${{github.workspace}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DNT_ENABLE_BENCHMARKING=OFF -DNT_COMPILE_TESTS=OFF -DCMAKE_PREFIX_PATH=`python3 -c 'import torch;print(torch.utils.cmake_prefix_path)'` -B ${{github.workspace}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ## horrible little hack to put spdlog include files somewhere that clang-tidy can find them ## it doesn't seem to like headers included by cpm @@ -35,7 +35,7 @@ jobs: cp -r _deps/spdlog-src/include/spdlog . cp spdlog/spdlog* . - - uses: cpp-linter/cpp-linter-action@main + - uses: cpp-linter/cpp-linter-action@v2.15.0 id: linter continue-on-error: true env: diff --git a/.github/workflows/Lint-cpp.yaml b/.github/workflows/Lint-cpp.yaml index 3694586..75aca9b 100644 --- a/.github/workflows/Lint-cpp.yaml +++ b/.github/workflows/Lint-cpp.yaml @@ -11,7 +11,7 @@ jobs: permissions: write-all runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set Flags run: export USE_CUDA=0 @@ -28,8 +28,8 @@ jobs: - name: Configure CMake # Configure CMake so we can get a compile_commands.json so that clang-tidy won't be angry about missing headers any more - run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DNT_ENABLE_BENCHMARKING=ON -DCMAKE_PREFIX_PATH=`python3 -c 'import torch;print(torch.utils.cmake_prefix_path)'` -B ${{github.workspace}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - + run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DNT_ENABLE_BENCHMARKING=OFF -DNT_COMPILE_TESTS=OFF -DCMAKE_PREFIX_PATH=`python3 -c 'import torch;print(torch.utils.cmake_prefix_path)'` -B ${{github.workspace}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + ## horrible little hack to put spdlog include files somewhere that clang-tidy can find them ## it doesn't seem to like headers included by cpm - name: Move spdlog @@ -37,7 +37,7 @@ jobs: cp -r _deps/spdlog-src/include/spdlog . cp spdlog/spdlog* . - - uses: cpp-linter/cpp-linter-action@main + - uses: cpp-linter/cpp-linter-action@v2.15.0 id: linter continue-on-error: true env: