From 7a3eacc5c7116358bf4a9c59ee1b7cceec68f955 Mon Sep 17 00:00:00 2001 From: scawful Date: Wed, 15 Oct 2025 20:14:26 -0400 Subject: [PATCH] fix(ci): update cache key to include additional CMake files - Modified the cache key in the CI workflow to include `src/**/*.cmake`, ensuring that changes in CMake files are properly accounted for in the caching mechanism. - This adjustment enhances the efficiency of the CI process by improving cache hit rates and reducing unnecessary rebuilds. Benefits: - Optimizes the CI workflow by ensuring that all relevant CMake configurations are considered, leading to faster build times and more reliable dependency management. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1017847b..ddf54634 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -163,7 +163,7 @@ jobs: path: | build/_deps build/vcpkg_installed - key: cmake-deps-${{ runner.os }}-${{ matrix.cc }}-${{ hashFiles('CMakeLists.txt', 'cmake/**', 'src/**/CMakeLists.txt', 'test/CMakeLists.txt') }} + key: cmake-deps-${{ runner.os }}-${{ matrix.cc }}-${{ hashFiles('CMakeLists.txt', 'cmake/**', 'src/**/CMakeLists.txt', 'src/**/*.cmake', 'test/CMakeLists.txt') }} restore-keys: | cmake-deps-${{ runner.os }}-${{ matrix.cc }}-