YODA-T-64 Update .gitignore to exclude composer.lock file #3
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: Code Linting | |
on: [push, pull_request] | |
jobs: | |
lint: | |
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: Install Composer Dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: Run PHP CodeSniffer | |
run: ./vendor/bin/phpcs --standard=PSR12 src/ |