nginx #390
This file contains hidden or 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: | |
| #phpunit: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v3 | |
| # - run: echo "The ${{ github.repository }} repository has been cloned to the runner." | |
| # - uses: php-actions/composer@v6 | |
| # - name: run phpunit tests | |
| # run: vendor/bin/phpunit tests --do-not-cache-result | |
| phpstan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: php-actions/composer@v6 | |
| - uses: php-actions/phpstan@v3 | |
| with: | |
| configuration: phpstan.neon | |
| level: 5 | |
| validate-yaml: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run yamllint | |
| run: | | |
| find . -path \*/vendor -prune -false -o -name \*.y\*ml | | |
| xargs yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" || true |