Skip to content

Commit

Permalink
build: cache php version
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Apr 25, 2024
1 parent 69f4750 commit 89dc939
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [ 8.1, 8.2 ]
php: [ 8.1, 8.2, 8.3 ]

steps:
- uses: actions/checkout@v3
Expand All @@ -16,7 +16,7 @@ jobs:
uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}

- name: Composer install
uses: php-actions/composer@v6
Expand All @@ -37,7 +37,7 @@ jobs:
needs: [ composer ]
strategy:
matrix:
php: [ 8.1, 8.2 ]
php: [ 8.1, 8.2, 8.3 ]

outputs:
coverage: ${{ steps.store-coverage.outputs.coverage_text }}
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
needs: [ composer ]
strategy:
matrix:
php: [ 8.1, 8.2 ]
php: [ 8.1, 8.2, 8.3 ]

steps:
- uses: actions/download-artifact@v3
Expand All @@ -113,7 +113,7 @@ jobs:
needs: [ composer ]
strategy:
matrix:
php: [ 8.1, 8.2 ]
php: [ 8.1, 8.2, 8.3 ]

steps:
- uses: actions/download-artifact@v3
Expand All @@ -137,7 +137,7 @@ jobs:
needs: [ composer ]
strategy:
matrix:
php: [ 8.1, 8.2 ]
php: [ 8.1, 8.2, 8.3 ]

steps:
- uses: actions/download-artifact@v3
Expand Down

0 comments on commit 89dc939

Please sign in to comment.