Skip to content

Commit

Permalink
Merge pull request #13 from InteractionDesignFoundation/renovate/acti…
Browse files Browse the repository at this point in the history
…ons-cache-4.x

Update actions/cache action to v4
  • Loading branch information
alies-dev authored Jan 17, 2024
2 parents 3305c57 + 788e1a6 commit efac3f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format_php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo "composer_dir={$(composer config cache-files-dir)}" >> $GITHUB_OUTPUT
- name: Retrieve Composer‘s cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.composer_dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
Expand All @@ -41,7 +41,7 @@ jobs:
run: "composer install --no-interaction --no-progress --no-scripts"

- name: Retrieve PHPCS‘s cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .cache/phpcs
key: ${{ runner.os }}-phpcs-${{ hashFiles('phpcs.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
echo "composer_dir={$(composer config cache-files-dir)}" >> $GITHUB_OUTPUT
- name: Retrieve Composer‘s cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.composer_dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand All @@ -46,7 +46,7 @@ jobs:
# the way cache keys are set up will always cause a cache miss
# but will restore the cache generated during the previous run based on partial match
- name: Retrieve Psalm’s cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./cache/psalm
key: ${{ runner.os }}-psalm-cache-${{ hashFiles('psalm.xml', 'psalm-baseline.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
echo "composer_dir={$(composer config cache-files-dir)}" >> $GITHUB_OUTPUT
- name: Retrieve Composer‘s cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.composer_dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down

0 comments on commit efac3f2

Please sign in to comment.