Skip to content

Commit

Permalink
Update actions/cache action to v4 (#102)
Browse files Browse the repository at this point in the history
* Update actions/cache action to v4

| datasource  | package       | from | to |
| ----------- | ------------- | ---- | -- |
| github-tags | actions/cache | v3   | v4 |

* Fix cache key
---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dragos Protung <dragos@protung.de>
  • Loading branch information
renovate[bot] and dragosprotung committed Jan 18, 2024
1 parent a1c4f69 commit 1323d94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Expand Up @@ -33,11 +33,11 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json **/composer.lock') }}
restore-keys: ${{ runner.os }}-php-${{ matrix.php }}-composer-
key: php-${{ matrix.php-versions }}-composer-${{ matrix.dependencies }}-${{ hashFiles('composer.lock') }}
restore-keys: "php-${{ matrix.php-versions }}-composer-${{ matrix.dependencies }}-"

- name: Install lowest dependencies
if: ${{ matrix.dependencies == 'lowest' }}
Expand Down

0 comments on commit 1323d94

Please sign in to comment.