diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 6caaf04..05de59c 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -5,18 +5,21 @@ on: paths: - '**.php' - 'phpstan.neon.dist' + - '.github/workflows/static.yml' + pull_request: + branches: [main] jobs: phpstan: name: PHPStan runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.4' coverage: none - name: Install composer dependencies @@ -32,16 +35,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + php-version: '8.4' coverage: none - - name: Install Dependencies - run: composer update --prefer-dist --no-interaction --no-progress --ansi + - name: Install composer dependencies + uses: ramsey/composer-install@v3 - name: Run ECS run: composer test:style diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 591a274..7746634 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,23 +10,22 @@ jobs: test: runs-on: ${{ matrix.os }} strategy: - fail-fast: true matrix: os: [ubuntu-latest] - php: [8.4, 8.3] - laravel: [12.*, 11.*] + php: [8.4, 8.5] + laravel: [12.*, 13.*] stability: [prefer-lowest, prefer-stable] include: + - laravel: 13.* + testbench: ^11.0 - laravel: 12.* - testbench: 10.* - - laravel: 11.* - testbench: 9.* + testbench: ^10.7 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/composer.json b/composer.json index 3579deb..c31b498 100644 --- a/composer.json +++ b/composer.json @@ -4,25 +4,25 @@ "type": "library", "license": "MIT", "require": { - "php": "^8.3", + "php": "^8.4", "guzzlehttp/guzzle": "^7.8", - "illuminate/container": "^11.0 || ^12.0", - "illuminate/contracts": "^11.0 || ^12.0", - "illuminate/database": "^11.0 || ^12.0", - "illuminate/support": "^11.0 || ^12.0", - "nesbot/carbon": "^2.72 || ^3.0", + "illuminate/container": "^12.0 || ^13.0", + "illuminate/contracts": "^12.0 || ^13.0", + "illuminate/database": "^12.0 || ^13.0", + "illuminate/support": "^12.0 || ^13.0", + "nesbot/carbon": "^3.0", "nuwave/lighthouse": "^6.54", - "phpoffice/phpspreadsheet": "^1.29.10 || ^2.3.8", - "symfony/dependency-injection": "^6.4 || ^7.0", - "worksome/graphql-helpers": "^0.1.15" + "phpoffice/phpspreadsheet": "^1.30 || ^2.3.8 || ^5.4", + "symfony/dependency-injection": "^7.0 || ^8.0", + "worksome/graphql-helpers": "^0.1.18" }, "require-dev": { - "larastan/larastan": "^3.1", + "larastan/larastan": "^3.9", "nunomaduro/collision": "^7.10 || ^8.1.1", - "orchestra/testbench": "^9.12 || ^10.1", - "pestphp/pest": "^3.7", - "pestphp/pest-plugin-laravel": "^3.1", - "worksome/coding-style": "^3.2" + "orchestra/testbench": "^10.8 || ^11.0", + "pestphp/pest": "^4.4", + "pestphp/pest-plugin-laravel": "^4.1", + "worksome/coding-style": "^3.4" }, "autoload": { "psr-4": {