|
1 | | -name: build |
| 1 | +name: "build" |
2 | 2 | on: |
3 | 3 | push: ~ |
| 4 | + |
4 | 5 | pull_request: ~ |
| 6 | + |
5 | 7 | workflow_dispatch: ~ |
| 8 | + |
6 | 9 | jobs: |
7 | 10 | checks: |
8 | | - name: PHP ${{ matrix.php-versions }} |
9 | | - runs-on: ${{ matrix.operating-system }} |
| 11 | + name: "PHP ${{ matrix.php-versions }}" |
| 12 | + |
| 13 | + runs-on: "ubuntu-latest" |
| 14 | + |
10 | 15 | strategy: |
11 | 16 | fail-fast: false |
12 | 17 | matrix: |
13 | | - operating-system: [ ubuntu-latest ] |
14 | | - php-versions: [ '7.4', '8.0', '8.1', '8.2' ] |
| 18 | + php-versions: |
| 19 | + - "8.1" |
| 20 | + - "8.2" |
| 21 | + - "8.3" |
| 22 | + - "8.4" |
| 23 | + |
15 | 24 | steps: |
16 | | - - name: Checkout |
17 | | - uses: actions/checkout@v4 |
18 | | - - name: Setup PHP, with composer and extensions |
19 | | - uses: shivammathur/setup-php@v2 |
| 25 | + - name: "Checkout" |
| 26 | + uses: "actions/checkout@v4" |
| 27 | + |
| 28 | + - name: "Setup PHP, with composer and extensions" |
| 29 | + uses: "shivammathur/setup-php@v2" |
20 | 30 | with: |
21 | | - php-version: ${{ matrix.php-versions }} |
22 | | - coverage: none |
23 | | - - name: Install Composer dependencies |
24 | | - run: composer update --no-progress --no-suggest --prefer-dist --no-interaction |
25 | | - - name: Validate composer |
26 | | - run: composer validate --strict |
27 | | - - name: Check composer normalized |
28 | | - run: composer normalize --dry-run |
| 31 | + php-version: "${{ matrix.php-versions }}" |
| 32 | + coverage: "none" |
| 33 | + |
| 34 | + - name: "Install composer dependencies" |
| 35 | + uses: "ramsey/composer-install@v3" |
| 36 | + |
| 37 | + - name: "Validate composer" |
| 38 | + run: "composer validate --strict" |
| 39 | + |
| 40 | + - name: "Check composer normalized" |
| 41 | + run: "composer normalize --dry-run" |
0 commit comments