fix query offset handling #103
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| pint: | |
| name: Pint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.4 | |
| tools: composer:v2 | |
| coverage: none | |
| - name: Init composer | |
| run: composer init --no-interaction | |
| - name: Install Laravel Pint | |
| run: composer require "laravel/pint:^1.15.3" | |
| - name: Run Pint | |
| run: vendor/bin/pint --test | |
| phpstan: | |
| name: PHPStan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Clone Pelican Panel | |
| run: git clone --depth=1 https://github.com/pelican-dev/panel pelican | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.4 | |
| tools: composer:v2 | |
| coverage: none | |
| - name: Install panel dependencies | |
| run: | | |
| cd pelican | |
| composer install --no-interaction --no-suggest --no-progress --no-scripts | |
| - name: Install plugin dependencies | |
| run: | | |
| cd pelican | |
| composer require "stripe/stripe-php:^18.0" "kovah/laravel-socialite-oidc:^0.5" "krymosoftware/gameq:^4.0" "socialiteproviders/pocketid:^5.0" | |
| - name: Setup .env file | |
| run: cp pelican/.env.example pelican/.env | |
| - name: Move plugin folders and phpstan.neon | |
| run: | | |
| mkdir -p pelican/plugins | |
| rsync -av --progress ./ pelican/plugins/ --exclude=pelican | |
| cp phpstan.neon pelican/phpstan.neon | |
| - name: Run PHPStan Analysis | |
| run: | | |
| cd pelican | |
| vendor/bin/phpstan analyse --memory-limit=-1 --error-format=github | |