Skip to content

Commit

Permalink
More tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Nov 14, 2024
1 parent 15a7bc4 commit 9db0a12
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,19 @@ jobs:
ini-file: development
coverage: none

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

- name: Cache PHP Dependencies
id: composer-cache
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache-dir.outputs.dir }}
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('composer.json') }}

- name: Install PHP Dependencies
run: |
composer update --prefer-dist --no-progress --no-interaction
composer install --prefer-dist --no-progress --no-interaction
- name: Run the tests
run: |
Expand Down

0 comments on commit 9db0a12

Please sign in to comment.