Skip to content

Commit 7a36ac3

Browse files
committed
shared cache
1 parent bd4c2f0 commit 7a36ac3

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,21 @@ jobs:
4242
run: |
4343
chmod +x $SCRIPT_FOLDER/*.sh
4444
45-
- name: Cache Poetry virtualenv (filenameprocessor)
45+
# - name: Cache Poetry virtualenv (filenameprocessor)
46+
# uses: actions/cache@v4
47+
# with:
48+
# path: ./filenameprocessor/.venv
49+
# key: ${{ runner.os }}-venv-filenameprocessor-${{ hashFiles('filenameprocessor/poetry.lock') }}
50+
# restore-keys: |
51+
# ${{ runner.os }}-venv-filenameprocessor-
52+
53+
- name: Cache Poetry virtualenv (shared)
4654
uses: actions/cache@v4
4755
with:
48-
path: ./filenameprocessor/.venv
49-
key: ${{ runner.os }}-venv-filenameprocessor-${{ hashFiles('filenameprocessor/poetry.lock') }}
56+
path: ./.venv
57+
key: ${{ runner.os }}-venv-shared-${{ hashFiles('poetry.lock') }}
5058
restore-keys: |
51-
${{ runner.os }}-venv-filenameprocessor-
59+
${{ runner.os }}-venv-shared-
5260
5361
- name: Run unittest with filenameprocessor-coverage (S)
5462
working-directory: filenameprocessor

0 commit comments

Comments
 (0)