diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec770e2..987b4ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,6 @@ name: Tests on: - push: pull_request: jobs: @@ -11,8 +10,8 @@ jobs: strategy: fail-fast: true matrix: - php: [ 7.4, 8.0 ] - laravel: [ ^8.0 ] + php: [ 8.0, 8.1, 8.2 ] + laravel: [ ^8.0, ^9.0 ] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -29,8 +28,8 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update composer update --prefer-dist --no-interaction --no-progress + composer require "illuminate/contracts=${{ matrix.laravel }}" --prefer-dist --no-interaction --no-update - name: Execute tests run: vendor/bin/phpunit --verbose diff --git a/README.md b/README.md index fac6b8c..76d9e46 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ For a full list of available icons see [the SVG directory](resources/svg) or pre ## Requirements -- PHP 7.4 or higher -- Laravel 8.0 or higher +- PHP 8.0 or higher +- Laravel 8.0 or 9.0 ## Installation diff --git a/bin/compile.sh b/bin/compile.sh index 3365359..305252c 100755 --- a/bin/compile.sh +++ b/bin/compile.sh @@ -1,6 +1,9 @@ #!/usr/bin/env bash -set -e +# Run this from the project directory +# e.g. ./bin/compile.sh + +set -eu DIRECTORY=$(cd $(dirname $0) && pwd) TEMP=$DIRECTORY/../.original-repo