Fix issues for latest GrumPHP version #21
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: CI | |
on: [push] | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache Composer dependencies | |
uses: actions/cache@v2 | |
with: | |
path: /tmp/composer-cache | |
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }} | |
- name: Install dependencies | |
uses: php-actions/composer@v6 | |
with: | |
php_version: '8.1' | |
- name: Run Coding Standards | |
uses: php-actions/composer@v6 | |
with: | |
command: cs | |
- name: Run Static Analysis | |
uses: php-actions/composer@v6 | |
with: | |
command: static | |
- name: Run PHPUnit | |
uses: php-actions/composer@v6 | |
with: | |
command: test |