Skip to content

Commit

Permalink
Merge pull request #9 from Hennest/github-hook-test
Browse files Browse the repository at this point in the history
GitHub hook test
  • Loading branch information
Hennest committed Sep 1, 2024
2 parents 0c88961 + 527963a commit be46bf7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,15 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Get Composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache composer
uses: actions/cache@v3
with:
path: ~/.composer/cache/files
key: php-${{ matrix.php }}-composer-${{ hashFiles('composer.json', 'composer.lock') }}
path: ${{ steps.composer-cache.outputs.dir }}
key: php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -31,12 +35,7 @@ jobs:
coverage: none

- name: Install composer
run: composer install --no-interaction --no-scripts --no-suggest
run: composer install --no-interaction --no-scripts

- name: Execute tests
run: vendor/bin/pest

- name: Debug cache
run: |
ls -la ~/.composer/cache/files
composer config -g cache-dir

0 comments on commit be46bf7

Please sign in to comment.