From 82dae2fc5a2f47083ec08e36d5b79759a97538fb Mon Sep 17 00:00:00 2001 From: ilan-moatty <65910094+ilan-moatty@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:30:51 +0100 Subject: [PATCH 1/7] Update composer.json --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 959aecb..3d4d155 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ } ], "require": { - "php": "^7.4|^8.0", + "php": "^7.4|^8.0|^8.1", "nesbot/carbon": "^2.0", - "laravel/framework": "^6.0|^7.0|^8.0|^9.0" + "laravel/framework": "^6.0|^7.0|^8.0|^9.0|^10.0" }, "require-dev": { - "phpunit/phpunit": "9.5.x-dev", - "orchestra/testbench": "^6.18|^7.0" + "phpunit/phpunit": "^9.6.0", + "orchestra/testbench": "^6.18|^7.0|^8.8.3" }, "autoload": { "psr-4": { From 928616dc828489ad9a6f519cad32ea824ddddb3c Mon Sep 17 00:00:00 2001 From: ilan-moatty <65910094+ilan-moatty@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:33:07 +0100 Subject: [PATCH 2/7] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 79f25de..7fabb63 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v2 - name: Install Composer packages - uses: MilesChou/composer-action/7.4@master + uses: MilesChou/composer-action/8.1@master with: args: install From 172f2c7edbacf15f96499bc9ad0d4be691e218e1 Mon Sep 17 00:00:00 2001 From: ilan-moatty <65910094+ilan-moatty@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:35:58 +0100 Subject: [PATCH 3/7] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7fabb63..8a9e4eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,3 +26,5 @@ jobs: # Runs a single command using the runners shell - name: PHPUnit (php-actions) uses: php-actions/phpunit@v2 + with: + php_version: 8.1 From 67f2f6d99d54a62679f62ffd1137a7ab5abef1d9 Mon Sep 17 00:00:00 2001 From: ilan-moatty <65910094+ilan-moatty@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:40:55 +0100 Subject: [PATCH 4/7] add write permission --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8a9e4eb..467df1c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,8 @@ on: jobs: test: + permissions: + packages: write runs-on: ubuntu-latest steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it From 8f6310675519140e4a781ca211a14aca9776dc17 Mon Sep 17 00:00:00 2001 From: ilan-moatty <65910094+ilan-moatty@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:44:02 +0100 Subject: [PATCH 5/7] Update permissions --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 467df1c..d33cb9e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,10 +11,11 @@ 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: - permissions: - packages: write runs-on: ubuntu-latest steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it From b09e192f41cd211a653f3ba632344ce6cf9452b8 Mon Sep 17 00:00:00 2001 From: ilan-moatty <65910094+ilan-moatty@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:53:10 +0100 Subject: [PATCH 6/7] Update to php 8.2 --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d33cb9e..38bf5b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2 - name: Install Composer packages - uses: MilesChou/composer-action/8.1@master + uses: MilesChou/composer-action/8.2@master with: args: install @@ -30,4 +30,4 @@ jobs: - name: PHPUnit (php-actions) uses: php-actions/phpunit@v2 with: - php_version: 8.1 + php_version: 8.2 From 88d9d14d0e63800ac6784be6515e82460c4b329a Mon Sep 17 00:00:00 2001 From: ilan-moatty <65910094+ilan-moatty@users.noreply.github.com> Date: Fri, 10 Nov 2023 11:53:47 +0100 Subject: [PATCH 7/7] Update composer.json to php 8.2 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 3d4d155..ef73331 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ } ], "require": { - "php": "^7.4|^8.0|^8.1", + "php": "^8.2", "nesbot/carbon": "^2.0", - "laravel/framework": "^6.0|^7.0|^8.0|^9.0|^10.0" + "laravel/framework": "^10.0" }, "require-dev": { "phpunit/phpunit": "^9.6.0", - "orchestra/testbench": "^6.18|^7.0|^8.8.3" + "orchestra/testbench": "^8.8.3" }, "autoload": { "psr-4": {