Add ruby major version to the cache key

pull/10037/head
Oliver Günther 3 years ago
parent 349a15b3af
commit 0602c1f420
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 12
      .github/workflows/test-core.yml

@ -30,10 +30,10 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: /tmp/cache path: /tmp/cache
key: ${{ runner.os }}-core-tests-units-${{ hashFiles('**/Gemfile.lock') }} key: ${{ runner.os }}-ruby3-core-tests-units-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-core-tests-units- ${{ runner.os }}-ruby3-core-tests-units-
${{ runner.os }}-core-tests- ${{ runner.os }}-ruby3-core-tests-
- name: test - name: test
run: | run: |
docker-compose -f docker-compose.ci.yml build --pull ci docker-compose -f docker-compose.ci.yml build --pull ci
@ -60,10 +60,10 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: /tmp/cache path: /tmp/cache
key: ${{ runner.os }}-core-tests-features-${{ hashFiles('**/Gemfile.lock') }} key: ${{ runner.os }}-ruby3-core-tests-features-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-core-tests-features- ${{ runner.os }}-ruby3-core-tests-features-
${{ runner.os }}-core-tests- ${{ runner.os }}-ruby3-core-tests-
- name: test - name: test
run: | run: |
docker-compose -f docker-compose.ci.yml build --pull ci docker-compose -f docker-compose.ci.yml build --pull ci

Loading…
Cancel
Save