diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 5a08f47..de5f20c 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -41,7 +41,7 @@ jobs: run: echo "::set-output name=dir::$(composer config cache-files-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.*') }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index cf59207..c14793a 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -30,7 +30,7 @@ jobs: run: echo "::set-output name=directory::$(composer config cache-dir)" - name: Cache dependencies installed with composer - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.directory }} key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }} @@ -72,7 +72,7 @@ jobs: run: echo "::set-output name=directory::$(composer config cache-dir)" - name: Cache dependencies installed with composer - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.directory }} key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }} @@ -116,7 +116,7 @@ jobs: run: echo "::set-output name=directory::$(composer config cache-dir)" - name: Cache dependencies installed with composer - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.directory }} key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }} @@ -131,7 +131,7 @@ jobs: composer bin php-cs-fixer install --no-interaction --no-progress --optimize-autoloader - name: Cache cache file for php-cs-fixer - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: .php_cs.cache key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}