Skip to content

Commit

Permalink
Cache Composer dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Allport authored Oct 16, 2023
1 parent 68e52e7 commit 70f09fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: dependencies-laravel-${{ matrix.laravel }}-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit 70f09fb

Please sign in to comment.