Skip to content

Commit

Permalink
ci: Update actions/cache (v2 -> v3) (#1821)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry committed Feb 6, 2023
1 parent 54648aa commit aaae66a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autoreview.yaml
Expand Up @@ -39,7 +39,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cs.yaml
Expand Up @@ -25,7 +25,7 @@ jobs:
php-version: 8.0

- name: Restore PHP-CS-Fixer cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .php_cs.cache
key: "php-cs-fixer"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yaml
Expand Up @@ -57,7 +57,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.dependencies }} }}
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:

- name: Cache E2E tests dependencies
if: runner.os == 'Windows'
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: tests/e2e/*/vendor
key: e2e-vendor-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('tests/e2e/*/composer.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mt-annotations.yaml
Expand Up @@ -36,7 +36,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mt.yaml
Expand Up @@ -49,7 +49,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Expand Up @@ -65,7 +65,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ matrix.dependencies }} }}
Expand Down

0 comments on commit aaae66a

Please sign in to comment.