Framework update, fixes #223
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: Run PHP checks | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
laravel-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
- uses: actions/checkout@v4 | |
- name: Meilisearch (latest version) setup with Docker | |
run: docker run -d -p 7700:7700 getmeili/meilisearch:latest meilisearch --master-key=masterKeyThatIsReallyReallyLong4Real --no-analytics | |
- name: Copy .env | |
run: cp .env.dist .env | |
- name: Install Dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Generate key | |
run: php artisan key:generate | |
- name: Check coding style | |
run: ./vendor/bin/pint --test | |
- name: Execute tests | |
run: composer test | |
- name: Execute PHPStan | |
run: composer static |