Update psr/cache and pestphp/pest #8
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: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: true | |
matrix: | |
php: [ "8.1", "8.2" ] | |
runs-on: ubuntu-latest | |
name: PHP@${{ matrix.php }} | |
steps: | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- uses: actions/checkout@v3 | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: Lint code | |
run: composer run-script lint | |
- name: Analyse code | |
run: composer run-script analyse | |
- name: Test code | |
run: composer run-script test |