Skip to content

Commit dffc792

Browse files
Remove Composer cache again, since it does not work without lockfile
1 parent b09b69b commit dffc792

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,6 @@ jobs:
3535
ini-values: memory_limit=512M, xdebug.mode=off
3636
tools: composer:${{ env.COMPOSER_VERSION }}
3737

38-
- name: Get Composer cache directory
39-
id: composer-cache
40-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
41-
42-
- name: Restore Composer cache
43-
uses: actions/cache@v2
44-
with:
45-
path: ${{ steps.composer-cache.outputs.dir }}
46-
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
47-
restore-keys: composer-${{ runner.os }}-${{ matrix.php-version }}-
48-
4938
- name: Install dependencies
5039
run: composer install --no-interaction --prefer-dist --no-progress
5140

@@ -80,20 +69,8 @@ jobs:
8069
with:
8170
php-version: ${{ matrix.php-version }}
8271

83-
- name: Get Composer cache directory
84-
id: composer-cache
85-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
86-
87-
- name: Restore Composer cache
88-
uses: actions/cache@v2
89-
with:
90-
path: ${{ steps.composer-cache.outputs.dir }}
91-
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
92-
restore-keys: composer-${{ runner.os }}-${{ matrix.php-version }}-
93-
9472
- name: Install dependencies
95-
run: |
96-
composer install --no-interaction --prefer-dist --no-progress
73+
run: composer install --no-interaction --prefer-dist --no-progress
9774

9875
- name: Run PHP-CS-Fixer
9976
run: php vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php --verbose --dry-run

0 commit comments

Comments
 (0)