diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f49a45..35475a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,14 +67,14 @@ jobs: git config --global core.eol lf - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get Composer cache directory id: composer-cache run: echo "::set-output name=dir::$(composer config cache-dir)" - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.*') }}-${{ matrix.composer-flags }} @@ -83,15 +83,10 @@ jobs: composer-${{ runner.os }}-${{ matrix.php-version }}- - name: Install dependencies - uses: nick-invision/retry@v2 - with: - timeout_minutes: 5 - max_attempts: 5 - retry_wait_seconds: 30 - command: | - php_version=$(php -v) - composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }} - composer info -D + run: | + php_version=$(php -v) + composer update --optimize-autoloader --no-interaction --no-progress ${{ matrix.composer-flags }} + composer info -D - name: Run unit tests run: vendor/bin/phpunit --verbose