We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cecba0d + 31243c1 commit 408011bCopy full SHA for 408011b
.github/workflows/on_pull_request.yml
@@ -6,15 +6,26 @@ on:
6
- main
7
8
jobs:
9
+ php-versions:
10
+ name: Lookup PHP versions
11
+ runs-on: ubuntu-latest
12
+ outputs:
13
+ matrix: ${{ steps.versions.outputs.matrix }}
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v6
17
+ - name: Determine supported PHP versions
18
+ id: versions
19
+ uses: antfroger/php-version-action@v1
20
+
21
tests:
22
+ needs: php-versions
23
runs-on: ubuntu-latest
24
continue-on-error: false
25
strategy:
26
max-parallel: 3
27
matrix:
- php:
- - 8.3
- - 8.4
28
+ php: ${{ fromJSON(needs.php-versions.outputs.matrix) }}
29
composer:
30
- 2
31
name: Test - php:${{ matrix.php }}; composer:${{ matrix.composer }}
0 commit comments