Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Add ruby major version to the cache key

Oliver Günther0602c1f42013
diff --git a/.github/workflows/test-core.yml b/.github/workflows/test-core.yml
index 93b715fc310..55e6b11df06 100644
--- a/.github/workflows/test-core.yml
+++ b/.github/workflows/test-core.yml
@@ -30,10 +30,10 @@ jobs:
uses: actions/cache@v2
with:
path: /tmp/cache
- key: ${{ runner.os }}-core-tests-units-${{ hashFiles('**/Gemfile.lock') }}
+ key: ${{ runner.os }}-ruby3-core-tests-units-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
- ${{ runner.os }}-core-tests-units-
- ${{ runner.os }}-core-tests-
+ ${{ runner.os }}-ruby3-core-tests-units-
+ ${{ runner.os }}-ruby3-core-tests-
- name: test
run: |
docker-compose -f docker-compose.ci.yml build --pull ci
@@ -60,10 +60,10 @@ jobs:
uses: actions/cache@v2
with:
path: /tmp/cache
- key: ${{ runner.os }}-core-tests-features-${{ hashFiles('**/Gemfile.lock') }}
+ key: ${{ runner.os }}-ruby3-core-tests-features-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
- ${{ runner.os }}-core-tests-features-
- ${{ runner.os }}-core-tests-
+ ${{ runner.os }}-ruby3-core-tests-features-
+ ${{ runner.os }}-ruby3-core-tests-
- name: test
run: |
docker-compose -f docker-compose.ci.yml build --pull ci