diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79f25de..38bf5b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,9 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +# All permissions are granted read access +permissions: read-all + jobs: test: runs-on: ubuntu-latest @@ -19,10 +22,12 @@ jobs: - uses: actions/checkout@v2 - name: Install Composer packages - uses: MilesChou/composer-action/7.4@master + uses: MilesChou/composer-action/8.2@master with: args: install # Runs a single command using the runners shell - name: PHPUnit (php-actions) uses: php-actions/phpunit@v2 + with: + php_version: 8.2 diff --git a/composer.json b/composer.json index 959aecb..ef73331 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ } ], "require": { - "php": "^7.4|^8.0", + "php": "^8.2", "nesbot/carbon": "^2.0", - "laravel/framework": "^6.0|^7.0|^8.0|^9.0" + "laravel/framework": "^10.0" }, "require-dev": { - "phpunit/phpunit": "9.5.x-dev", - "orchestra/testbench": "^6.18|^7.0" + "phpunit/phpunit": "^9.6.0", + "orchestra/testbench": "^8.8.3" }, "autoload": { "psr-4": {