Skip to content

Extract query lib #3264

Extract query lib

Extract query lib #3264

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"