Add sanitation for $_SERVER value #229
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: Test | |
| on: | |
| push: | |
| jobs: | |
| test: | |
| timeout-minutes: 5 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: "8.2" | |
| - name: Run composer install | |
| run: composer install | |
| - name: Run phpstan | |
| run: composer phpstan | |
| - name: Run php code sniffer | |
| run: composer phpcs | |
| - name: Install node modules | |
| run: npm ci | |
| - name: Check types | |
| run: npm run tsc | |
| - name: Check prettier | |
| run: npm run prettier-check | |
| - name: Build assets | |
| run: npm run build |