diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 470d98e..be45875 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -8,35 +8,36 @@ jobs: strategy: fail-fast: true matrix: - php: [8.0, 7.4] - laravel: [8.*, 7.*] + php: [8.1, 8.0, 7.4] + laravel: [8.*] framework: [tailwind, tailwind-2, bootstrap-4, bootstrap-5] dependency-version: [prefer-lowest, prefer-stable] include: - - laravel: 8.* - testbench: 6.* - - laravel: 7.* - testbench: 5.* + - laravel: 8.* + testbench: 6.* + exclude: + - laravel: 7.* + php: 8.1 name: P${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} - Front-end Framework ${{ matrix.framework }} steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v2 - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php }} - extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, mysql, mysqli, pdo_mysql - coverage: none + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, mysql, mysqli, pdo_mysql + coverage: none - - name: Install dependencies - run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update - composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest + - name: Install dependencies + run: | + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - - name: Execute tests - env: - FORM_COMPONENTS_FRAMEWORK: ${{ matrix.framework }} - run: vendor/bin/phpunit \ No newline at end of file + - name: Execute tests + env: + FORM_COMPONENTS_FRAMEWORK: ${{ matrix.framework }} + run: vendor/bin/phpunit diff --git a/CHANGELOG.md b/CHANGELOG.md index cea4dcf..cc7ac19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to `laravel-form-components` will be documented in this file +## 3.3.0 - 2021-12-19 + +- Support for PHP 8.1 +- Dropped support for Laravel 7 + ## 3.2.0 - 2021-11-01 - Support for `select` placeholder diff --git a/composer.json b/composer.json index 7212b9b..ba59a14 100644 --- a/composer.json +++ b/composer.json @@ -29,15 +29,15 @@ } ], "require": { - "php": "^7.4 || ^8.0", - "illuminate/support": "^7.22.4 || ^8.0", + "php": "^7.4 || ^8.0 || ^8.1", + "illuminate/support": "^8.67", "symfony/http-foundation": "^5.1.2" }, "require-dev": { "livewire/livewire": "^2.0", "mockery/mockery": "^1.3.3", - "orchestra/testbench-browser-kit": "^5.1 || ^6.0", - "phpunit/phpunit": "^8.5 || ^9.0", + "orchestra/testbench-browser-kit": "^6.23", + "phpunit/phpunit": "^9.5", "spatie/laravel-translatable": "^4.4", "symfony/dom-crawler": "^5.1.14" },