diff --git a/.github/workflows/composer-normalize.yml b/.github/workflows/composer-normalize.yml deleted file mode 100644 index 9c1557a..0000000 --- a/.github/workflows/composer-normalize.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: normalize composer.json - -on: - push: - paths: - - 'composer.json' - -jobs: - normalize: - timeout-minutes: 1 - runs-on: ubuntu-latest - steps: - - name: Git checkout - uses: actions/checkout@v3 - - - name: Validate Composer configuration - run: composer validate --strict - - - name: Normalize composer.json - run: | - composer global require ergebnis/composer-normalize - composer normalize --indent-style=space --indent-size=4 --no-check-lock --no-update-lock --no-interaction --ansi - - - uses: stefanzweifel/git-auto-commit-action@v4.16.0 - with: - commit_message: normalize composer.json diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 26b01da..032707c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,12 +5,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['8.0', '8.1'] - laravel: [9.*] + php: ['8.1'] + laravel: [10.*] dependency-version: [prefer-stable] include: - - laravel: 9.* - testbench: 7.* + - laravel: 10.* + testbench: 8.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: - name: Checkout code diff --git a/composer.json b/composer.json index 8ea5925..e0d36ab 100644 --- a/composer.json +++ b/composer.json @@ -25,21 +25,21 @@ "source": "https://github.com/codedge/laravel-selfupdater" }, "require": { - "php": "^8.0 || ^8.1", + "php": "^8.1", "ext-json": "*", "ext-zip": "*", "guzzlehttp/guzzle": "^7.5.0", - "laravel/framework": "^9", - "league/uri": "~6.7|~6.8", + "illuminate/support": "^10", + "league/uri": "~6.7 || ~6.8", "phpstan/extension-installer": "^1.2", - "phpstan/phpstan-phpunit": "^1.3" + "phpstan/phpstan-phpunit": "^1.2" }, "require-dev": { - "dg/bypass-finals": "^1.3", + "dg/bypass-finals": "^1.4", "mikey179/vfsstream": "^1.6", "mockery/mockery": "^1.5", - "orchestra/testbench": "^7.20", - "phpunit/phpunit": "^9.5.28" + "orchestra/testbench": "^8.0", + "phpunit/phpunit": "^9.5.26" }, "minimum-stability": "dev", "prefer-stable": true,