Enhancements: Message Command Feature, Prefix Manager, DynamicCommand, Database Support, and Eye-Candy CLI Exception Output #45
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: PHP Composer | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [ '8.1', '8.2' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Validate composer.json and composer.lock | |
run: composer validate --strict | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: xdebug | |
ini-values: xdebug.mode=develop,debug,coverage, | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: PHP-CS-Fixer | |
run: composer fix:dry | |
- name: PHPUnit | |
run: composer test |