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:
parent
a994562121
commit
d54aa11cc3
1 changed files with 2 additions and 3 deletions
5
.github/actions/cache/action.yml
vendored
5
.github/actions/cache/action.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue