fixes #123
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: GrumPHP | |
| on: [push] | |
| jobs: | |
| linter: | |
| strategy: | |
| matrix: | |
| image: [ | |
| 'srcoder/development-php:php82-fpm' | |
| ] | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ${{ matrix.image }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: GrumPHP | |
| run: | | |
| composer2 config http-basic.repo.magento.com ${{ secrets.MAGENTO_USERNAME }} ${{ secrets.MAGENTO_PASSWORD }} | |
| composer2 config gitlab-token.git.emico.io ${{ secrets.GITLAB_TOKEN }} | |
| composer2 install --dev --prefer-dist --no-scripts --no-progress --optimize-autoloader --no-interaction -vvv | |
| composer2 show | |
| vendor/bin/grumphp run --tasks=phpmd,phpcs,xmllint,phplint,composer --no-interaction | |
| shell: bash |