From e3aaea735b2f170a0086a7600666cfc20e8cdb1a Mon Sep 17 00:00:00 2001 From: Kirill Nesmeyanov Date: Wed, 9 Aug 2023 20:03:13 +0300 Subject: [PATCH] Upgrade deprecated CI packages --- .github/workflows/codestyle.yml | 11 +---------- .github/workflows/main.yml | 2 +- .github/workflows/security.yml | 11 +---------- .github/workflows/static-analysis.yml | 11 +---------- 4 files changed, 4 insertions(+), 31 deletions(-) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index ebfe0f3..28f0bde 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -26,17 +26,8 @@ jobs: php-version: ${{ matrix.php }} - name: Validate Composer run: composer validate - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v1 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer- - name: Install Dependencies - uses: nick-invision/retry@v1 + uses: nick-invision/retry@v2 with: timeout_minutes: 5 max_attempts: 5 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f382f8..b99c001 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: - name: Validate Composer run: composer validate - name: Install Dependencies - uses: nick-invision/retry@v1 + uses: nick-invision/retry@v2 with: timeout_minutes: 5 max_attempts: 5 diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index b49a48a..fce605f 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -28,17 +28,8 @@ jobs: php-version: ${{ matrix.php }} - name: Validate Composer run: composer validate - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v1 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer- - name: Install Dependencies - uses: nick-invision/retry@v1 + uses: nick-invision/retry@v2 with: timeout_minutes: 5 max_attempts: 5 diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 3f59b8c..df02999 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -26,17 +26,8 @@ jobs: php-version: ${{ matrix.php }} - name: Validate Composer run: composer validate - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - name: Restore Composer Cache - uses: actions/cache@v1 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer- - name: Install Dependencies - uses: nick-invision/retry@v1 + uses: nick-invision/retry@v2 with: timeout_minutes: 5 max_attempts: 5