Skip to content

Commit f0b48b8

Browse files
committed
Update GH WorkFlow
1 parent 4adbeef commit f0b48b8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/code_analysis.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ jobs:
3535
# see https://github.com/actions/cache/blob/main/examples.md#php---composer
3636
- name: Get Composer Cache Directory
3737
id: composer-cache
38-
run: |
39-
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
40-
- uses: actions/cache@v2
38+
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
39+
40+
- name: Cache dependencies
41+
uses: actions/cache@v2
4142
with:
42-
path: |
43-
${{ steps.composer-cache.outputs.dir }}
44-
composer.lock
43+
path: ${{ steps.composer-cache.outputs.dir }}
4544
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
45+
restore-keys: ${{ runner.os }}-composer-
4646

4747
- name: Install Composer
4848
run: composer update --no-progress

0 commit comments

Comments
 (0)