Skip to content

Commit a4baa11

Browse files
committed
Remove the composer cache from the CI workflows
1 parent 2456e31 commit a4baa11

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

.github/workflows/lint.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,6 @@ jobs:
4444
php-version: ${{ matrix.php-version }}
4545
tools: composer:v2
4646

47-
- name: "Set composer cache directory"
48-
id: composer-cache
49-
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
50-
51-
- name: "Cache composer"
52-
uses: actions/cache@v4
53-
with:
54-
path: ${{ steps.composer-cache.outputs.dir }}
55-
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
56-
restore-keys: ${{ runner.os }}-composer-
57-
5847
- name: "Install dependencies"
5948
run: composer install --ansi --no-interaction --no-progress
6049

.github/workflows/tests.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,6 @@ jobs:
4747
- name: "Add PHPUnit matcher"
4848
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
4949

50-
- name: "Set composer cache directory"
51-
id: composer-cache
52-
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
53-
shell: bash
54-
55-
- name: "Cache composer"
56-
uses: actions/cache@v4
57-
with:
58-
path: ${{ steps.composer-cache.outputs.dir }}
59-
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
60-
restore-keys: ${{ runner.os }}-composer-
61-
6250
- name: "Install dependencies"
6351
run: composer install --ansi --no-interaction --no-progress
6452

0 commit comments

Comments
 (0)