Extract query lib #3264
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: "CodeQL" | |
| on: [ pull_request, workflow_dispatch ] | |
| jobs: | |
| lint: | |
| name: CodeQL | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - run: git checkout HEAD^2 | |
| if: github.event_name == 'pull_request' | |
| - name: Run CodeQL | |
| run: | | |
| docker run --rm -v $PWD:/app -w /app php:8.4-cli-alpine sh -c \ | |
| "php -r \"copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');\" && \ | |
| php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer && \ | |
| composer install --profile --ignore-platform-reqs && \ | |
| composer check" |