Skip to content

Commit

Permalink
Fix github tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
weakbit committed Jun 3, 2024
1 parent 063b326 commit 4fbff63
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@ on: [push, pull_request]

jobs:
lint-php:
name: Linting php with grumphp
name: "php: ${{ matrix.php }} TYPO3: ${{ matrix.typo3 }}"
runs-on: ubuntu-latest
container:
image: kanti/buildy:8.1
strategy:
fail-fast: false
matrix:
php: [ '8.1', '8.2', '8.3' ]
typo3: [ '11', '12', '13' ]
exclude:
- php: '8.1'
typo3: '13'
steps:
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- run: composer install --no-interaction --no-progress --ignore-platform-req=ext*
${{ runner.os }}-${{ matrix.php }}-composer-
- run: composer require typo3/minimal="^${{ matrix.typo3 }}" -W --dev
- run: composer install --no-interaction --no-progress
- run: ./vendor/bin/grumphp run --ansi

ter-release:
Expand Down

0 comments on commit 4fbff63

Please sign in to comment.