Currently the only "key" included in our cache setting is basically limited to the toolchain's version numbers:
|
key: deps-${{ matrix.os.name }}-${{ matrix.os.version }}-${{ matrix.compiler.toolset }}-${{ steps.env-info.outputs.compiler-full-version }}-${{ matrix.cpp_version.name }}-${{ matrix.build_type.name }} |
I experienced several times where invalid cache is persistent in some pull requests, resulting in a complete rebuild of Catch2 even that the CI "finds" the (invalid) cache.