From 0da06e953d6c290da7958fe596be33191f2891f4 Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Sat, 13 Apr 2024 19:55:04 +0200 Subject: [PATCH] Upgrade actions depending on Node 16 --- .github/workflows/ci.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) 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