Skip to content

Commit 9e92721

Browse files
committed
Do not use composer cache on CI
it's not efficient without composer.lock
1 parent 75ab508 commit 9e92721

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.github/workflows/static-analysis.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,6 @@ jobs:
2626
env:
2727
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828

29-
- name: Get Composer cache directory
30-
id: composer-cache
31-
run: |
32-
echo "composer_dir={$(composer config cache-files-dir)}" >> $GITHUB_OUTPUT
33-
34-
- name: Retrieve Composer‘s cache
35-
uses: actions/cache@v3
36-
with:
37-
path: ${{ steps.composer-cache.outputs.composer_dir }}
38-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
39-
restore-keys: |
40-
${{ runner.os }}-composer-
41-
4229
- name: Install composer dependencies
4330
run: "composer install --no-interaction --no-progress --no-scripts"
4431

0 commit comments

Comments
 (0)