Introduce code analysis

This commit is contained in:
Matej Bačo
2024-03-07 10:59:08 +01:00
parent 8a8638a817
commit 5a7c43ab32
20 changed files with 119 additions and 31 deletions
+16
View File
@@ -0,0 +1,16 @@
name: "CodeQL"
on: [pull_request]
jobs:
lint:
name: CodeQL
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Run CodeQL
run: |
docker run --rm -v $PWD:/app composer sh -c \
"composer install --profile --ignore-platform-reqs && composer check"