Fix allocation of User when null attempt 2 #426
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
# vim: set colorcolumn=: | |
name: bnetdocs-web | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Update apt cache | |
run: sudo apt-get update | |
- name: Install php 8.1 | |
run: sudo apt-get install php8.1-cli | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install composer/vendor dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs | |
- name: Validate PHP syntax | |
run: bash -c 'set -e;for file in $(find ./src -type f -regex .*\.php -print); do php -e -l -f "$file"; done' |