Skip to content

Commit

Permalink
More updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Sep 7, 2024
1 parent 447b1b8 commit d7db75a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ jobs:
build:
strategy:
matrix:
php: ['8.2', '7.2']
php:
- '8.3'
- '7.4'
fail-fast: false
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install PHP
uses: shivammathur/setup-php@v2
Expand All @@ -36,20 +38,20 @@ jobs:

- name: Get Composer Cache Directory
id: composer-cache-dir
run: |
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
run: | #shell
echo dir="$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
- name: Cache PHP Dependencies
id: composer-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache-dir.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('composer.json') }}

- name: Install PHP Dependencies
run: |
run: | #shell
composer install --prefer-dist --no-progress --no-interaction
- name: Run the tests
run: |
run: | #shell
composer test

0 comments on commit d7db75a

Please sign in to comment.