Merge branch 'develop' into cmsp-480-vdp-readme-update #14
Workflow file for this run
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: Lint and Test | |
on: push | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/vendor | |
key: test-lint-dependencies-{{ checksum "composer.json" }} | |
restore-keys: test-lint-dependencies-{{ checksum "composer.json" }} | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.0' | |
- name: Install dependencies | |
run: composer install -n --prefer-dist | |
- name: Run PHP Lint | |
run: composer phpcs |