endtoend-test-psl/.github/workflows/security-analysis.yml
2021-04-11 17:12:01 +01:00

30 lines
706 B
YAML

name: "security analysis"
on:
pull_request: ~
push: ~
jobs:
security-analysis:
name: "security analysis"
runs-on: "ubuntu-latest"
steps:
- name: "checkout"
uses: "actions/checkout@v2"
- name: "installing PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
ini-values: memory_limit=-1
tools: composer:v2, cs2pr
extensions: bcmath, mbstring, intl, sodium, json
- name: "installing dependencies"
run: |
make install-root-dependencies
make install-static-analysis-dependencies
- name: "running security analysis ( psalm )"
run: make security-analysis