Merge pull request #81 from intrepidws/patch-2 #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: monorepo-validate | |
on: | |
push: | |
pull_request: | |
jobs: | |
run-validation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: vendor | |
key: composer-${{ hashFiles('composer.lock') }} | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
extensions: mbstring, pdo, pdo_sqlite | |
coverage: none | |
- name: Install dependencies | |
run: composer install -n --prefer-dist | |
- name: Validate Dependencies are consistent | |
run: vendor/bin/monorepo-builder validate |