From e758c6495becfc464c4f25c5dbd59ca45b30e100 Mon Sep 17 00:00:00 2001 From: Anthony Clark Date: Fri, 22 Nov 2024 13:28:40 -0800 Subject: [PATCH 1/2] Update Duster to V3 --- .github/workflows/run-duster.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-duster.yml b/.github/workflows/run-duster.yml index 7d0df1b..b758bdc 100644 --- a/.github/workflows/run-duster.yml +++ b/.github/workflows/run-duster.yml @@ -12,6 +12,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: "Duster" - uses: tighten/duster-action@v2 + uses: tighten/duster-action@v3 with: args: lint diff --git a/composer.json b/composer.json index 6aa0936..f407cee 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "phpunit/phpunit": "^9.6", "spatie/ray": "^1.37", "symfony/var-dumper": "^6.1", - "tightenco/duster": "^2.0" + "tightenco/duster": "^3.0" }, "autoload": { "psr-4": { From 67171d2c5781d05ad14e9b3b6899d1560fc7f2d9 Mon Sep 17 00:00:00 2001 From: Anthony Clark Date: Fri, 22 Nov 2024 13:43:21 -0800 Subject: [PATCH 2/2] Remove duster before running tests --- .github/workflows/run-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index e92803f..3a28224 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -27,6 +27,7 @@ jobs: with: php-version: ${{ matrix.php }} - run: | + composer remove tightenco/duster --dev composer update --prefer-${{ matrix.dependencies }} --prefer-dist --no-interaction composer require illuminate/view:* --with-all-dependencies --no-interaction - run: vendor/bin/phpunit