diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b7aaa5..d2a655b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,11 +25,13 @@ jobs: uses: actions/cache@v2 with: path: vendor - key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: | - ${{ runner.os }}-php- + ${{ runner.os }}-composer- - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' - run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs + run: | + composer require --dev "jiannei/laravel-enum" --no-interaction --no-update + composer update --prefer-dist --no-interaction - name: Execute tests (Unit and Feature tests) via PHPUnit run: vendor/bin/phpunit