Skip to content

Commit

Permalink
(temp) remove composer caching
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed Jan 27, 2025
1 parent 274e1ad commit 94a31b9
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,26 +79,26 @@ jobs:
- name: Validate composer.json
run: composer validate

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-${{ matrix.php-version }}-php-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.php-version }}-php-
- name: Cache test tools
id: test-tools-cache
uses: actions/cache@v4
with:
path: vendor-bin
key: ${{ runner.os }}-${{ matrix.php-version }}-php-${{ hashFiles('**/composer.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.php-version }}-php-
# - name: Cache Composer packages
# id: composer-cache
# uses: actions/cache@v4
# with:
# path: vendor
# key: ${{ runner.os }}-${{ matrix.php-version }}-php-${{ hashFiles('**/composer.json') }}
# restore-keys: |
# ${{ runner.os }}-${{ matrix.php-version }}-php-
# - name: Cache test tools
# id: test-tools-cache
# uses: actions/cache@v4
# with:
# path: vendor-bin
# key: ${{ runner.os }}-${{ matrix.php-version }}-php-${{ hashFiles('**/composer.json') }}
# restore-keys: |
# ${{ runner.os }}-${{ matrix.php-version }}-php-

- name: Install dependencies
id: composer
if: steps.composer-cache.outputs.cache-hit != 'true' || steps.test-tools-cache.outputs.cache-hit != 'true'
# if: steps.composer-cache.outputs.cache-hit != 'true' || steps.test-tools-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress ${{ matrix.composer_args }}

- name: Check Style
Expand Down

0 comments on commit 94a31b9

Please sign in to comment.