Skip to content

Commit

Permalink
ci: use lock file to limit the scope of cache lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Jan 7, 2024
1 parent 9ba5e07 commit db6e7a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
uses: actions/cache@v3
with:
path: ./vendor
key: ${{ runner.os }}_8.1_${{ hashFiles('composer.*') }}
key: ${{ runner.os }}_8.1_${{ hashFiles('composer.lock') }}
restore-keys: |
${{ runner.os }}_8.1_${{ hashFiles('composer.*') }}
${{ runner.os }}_8.1_${{ hashFiles('composer.lock') }}
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Set Writable Directory Permissions
Expand Down

0 comments on commit db6e7a9

Please sign in to comment.