Skip to content

fix: Return type of Minify buildExtension field #2

fix: Return type of Minify buildExtension field

fix: Return type of Minify buildExtension field #2

Workflow file for this run

name: Tests
on: [push, pull_request, release]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2]
runs-on: ${{ matrix.os }}
name: PHP ${{ matrix.php }} – ${{ matrix.os }}
permissions:
checks: write
pull-requests: write
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-${{ matrix.dependency-version }}-
- name: Install dependencies
run: composer update --no-interaction
- name: Run tests (phpspec)
run: ./vendor/bin/phpspec run --format=dot