Send redirect subtype for Riverty installments #5720
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
| on: ["push", "pull_request"] | |
| name: Main Workflow | |
| permissions: | |
| contents: read | |
| jobs: | |
| run: | |
| name: Run | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| php-version: [ 7.4, 8.0, 8.1, 8.2 ] | |
| steps: | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Validate composer.json and composer.lock | |
| run: composer validate | |
| - name: Disable Composer security block | |
| run: composer config --global audit.block-insecure false | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-progress | |
| - name: Run PHP Code Sniffer | |
| run: vendor/bin/phpcs . | |
| - name: Make sure project files are compilable | |
| run: find -L . -path ./vendor -prune -o -path ./tests -prune -o -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l | |
| - name: Run PHPUnit | |
| run: vendor/bin/phpunit |