feat(graphql/@searchBy): Scout support for NotIn
operator (`laravelβ¦
#392
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- 'main' | |
- '[0-9]+.x' | |
pull_request: | |
schedule: | |
- cron: "0 0 * * SAT" | |
workflow_call: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
settings: | |
name: Settings | |
uses: ./.github/workflows/settings.yml | |
dependencies: | |
name: Validate composer.json | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install PHP | |
uses: ./.github/actions/php | |
- name: Check package versions | |
run: | | |
./vendor/bin/monorepo-builder validate | |
- name: Check unused packages | |
run: | | |
./vendor/bin/composer-unused | |
phpcs: | |
name: PHP CodeSniffer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install PHP | |
uses: ./.github/actions/php | |
- name: Execute | |
run: | | |
./vendor/bin/phpcs --report=checkstyle | cs2pr | |
phpstan: | |
name: PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install PHP | |
uses: ./.github/actions/php | |
- name: Execute | |
run: | | |
./vendor/bin/phpstan analyse | |
phpunit: | |
name: Tests | |
uses: ./.github/workflows/phpunit.yml | |
with: | |
runs-on: '["ubuntu-latest", "windows-latest"]' | |
phpunit-package: | |
name: Package tests | |
needs: | |
- settings | |
- phpunit | |
strategy: | |
fail-fast: false | |
matrix: | |
package: ${{ fromJson(needs.settings.outputs.packages-names) }} | |
uses: ./.github/workflows/phpunit.yml | |
with: | |
package: ${{ matrix.package }} | |
packages-names: ${{ needs.settings.outputs.packages-names }} | |
packages-directory: ${{ needs.settings.outputs.packages-directory }} | |
markdownlint: | |
name: Markdownlint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js | |
uses: ./.github/actions/npm | |
- name: Setup problem matcher | |
uses: xt0rted/markdownlint-problem-matcher@v2 | |
- name: Execute | |
run: | | |
npx markdownlint-cli --ignore-path=.gitignore . |