feat: bump amp to v3 #40
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 Quality | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
code-quality: | |
name: Code Quality | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '8.1' ] | |
steps: | |
- name: 'Init repository' | |
uses: actions/checkout@v2 | |
- name: 'Setup PHP' | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv, swoole | |
tools: composer | |
- name: "Install dependencies" | |
run: composer install | |
- name: 'Tests unit' | |
run: composer tests-unit | |
- name: 'Tests examples' | |
run: composer tests-examples | |
- name: 'Static analysis' | |
run: composer static-analysis | |
- name: 'Code style check' | |
run: composer code-style-check |