From eb49593e519277f72b67e703390ce19261b7f1f8 Mon Sep 17 00:00:00 2001 From: Matthias Pigulla Date: Mon, 5 Dec 2022 12:35:52 +0100 Subject: [PATCH] Update actions/cache to v3 (#15) This addresses the deprecation described at https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ --- .github/workflows/dependencies.yml | 2 +- .github/workflows/static-analysis.yml | 4 ++-- .github/workflows/tests.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index ce765d7..9e25170 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -22,7 +22,7 @@ jobs: php-version: ${{ env.PHP_VERSION }} tools: composer:v2 - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: vendor key: composer-${{ runner.os }}-${{ env.PHP_VERSION }}-${{ hashFiles('composer.json') }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index c02abdd..b8ac6ec 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -24,7 +24,7 @@ jobs: php-version: ${{ env.PHP_VERSION }} tools: composer:v2 - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: vendor key: composer-${{ runner.os }}-${{ env.PHP_VERSION }}-${{ hashFiles('composer.json') }} @@ -35,7 +35,7 @@ jobs: composer install --no-interaction --no-progress --ansi --no-scripts composer show - name: Restore Psalm cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: /home/runner/.cache/psalm key: psalm-${{ env.PSALM_VERSION }}-${{ env.PHP_VERSION }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6c9d675..38278ca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: php-version: ${{ matrix.php-version }} tools: composer:v2 - uses: actions/checkout@v3 - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: vendor key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.dependency-version }}-${{ hashFiles('composer.json') }}