Skip to content

Commit

Permalink
wip dorp me
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrufus committed Jan 2, 2025
1 parent 3b17b30 commit 768d9e1
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,36 @@ on:
push:

jobs:
php-matrix:
pint:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.php-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4

- uses: typisttech/php-matrix-action@main
id: php-matrix

- uses: shivammathur/setup-php@v2
with:
sparse-checkout: composer.json
sparse-checkout-cone-mode: false
php-version: ${{ steps.php-matrix.outputs.matrix }}

- run: pint --test


pint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: typisttech/php-matrix-action@main
id: php-matrix

- uses: shivammathur/setup-php@v2
with:
php-version: ${{ fromJSON(steps.php-matrix.outputs.matrix).lowest }}
tools: pint

- run: pint --test

pest:
runs-on: ubuntu-latest
needs: php-matrix
Expand Down

0 comments on commit 768d9e1

Please sign in to comment.