ci: relax caching requirements

Specifically, ignore changes in workflow files. While it is technically
more correct to include them (as they may affect the caching), it is
unlikely.
This commit is contained in:
dundargoc 2024-02-20 13:15:58 +01:00 committed by dundargoc
parent a994562121
commit d54aa11cc3

View file

@ -14,11 +14,10 @@ runs:
test/fixtures/grammars
target/release/tree-sitter-*.wasm
key: fixtures-${{ join(matrix.*, '_') }}-${{ hashFiles(
'.github/workflows/builds.yml',
'.github/workflows/sanitize.yml',
'cli/src/generate/**',
'script/generate-fixtures*',
'test/fixtures/grammars/*/**/src/*.c') }}
'test/fixtures/grammars/*/**/src/*.c',
'.github/actions/cache/action.yml') }}
- run: echo "cache-hit=${{ steps.cache_fixtures.outputs.cache-hit }}" >> $GITHUB_OUTPUT
shell: bash