Allow use of caches 'read-only'

To avoid evicting useful entries, some pipeline may benefit from using existing
cache entries without writing any changes back to the cache.

Fixes #62
This commit is contained in:
Daz DeBoer
2021-08-17 16:15:28 -06:00
parent 543cacb256
commit a693ccda4b
4 changed files with 31 additions and 0 deletions

View File

@@ -62,6 +62,13 @@ jobs:
build-root-directory: __tests__/samples/basic
arguments: test --no-daemon
dependencies-cache-enabled: true
- name: Test dependencies-cache-enabled
uses: ./
with:
build-root-directory: __tests__/samples/basic
arguments: test --no-daemon
dependencies-cache-enabled: true
cache-read-only: true
configuration-cache:
strategy: