Skip to content

YODA-T-64 Update .gitignore to exclude composer.lock file #3

YODA-T-64 Update .gitignore to exclude composer.lock file

YODA-T-64 Update .gitignore to exclude composer.lock file #3

Workflow file for this run

name: Cache Composer Dependencies
on: [push, pull_request]
jobs:
cache:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
- name: Cache Composer Dependencies
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install Composer Dependencies
run: composer install --prefer-dist --no-progress --no-suggest