Merge pull request #256 from Ubiquiti-App/feature/UCRM-5991-plugin-pr… #170
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
name: Main CI | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
- name: Run shellcheck | |
run: shellcheck *.sh | |
- name: Validate composer | |
run: bash composer-check.sh | |
- name: Check PHP Easy Coding Standard | |
run: ./vendor/bin/ecs check | |
- name: Validate CRM Plugins | |
run: php validate.php |