Skip to content

Commit

Permalink
re-add cache step
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed Jan 27, 2025
1 parent 94a31b9 commit 62e77a6
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,22 @@ 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
Expand Down

0 comments on commit 62e77a6

Please sign in to comment.