mirror of
https://github.com/danog/endtoend-test-psl.git
synced 2024-12-03 10:08:33 +01:00
35 lines
799 B
YAML
35 lines
799 B
YAML
name: "static analysis"
|
|
|
|
on:
|
|
pull_request: ~
|
|
push: ~
|
|
schedule:
|
|
- cron: '0 */3 * * *'
|
|
|
|
jobs:
|
|
static-analysis:
|
|
name: "static analysis"
|
|
runs-on: "ubuntu-latest"
|
|
steps:
|
|
- name: "checkout"
|
|
uses: "actions/checkout@v2"
|
|
|
|
- name: "installing PHP"
|
|
uses: "shivammathur/setup-php@v2"
|
|
with:
|
|
php-version: "8.0"
|
|
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 static analysis"
|
|
run: make static-analysis
|
|
|
|
- name: "calculating type coverage"
|
|
run: make type-coverage
|