-
Notifications
You must be signed in to change notification settings - Fork 9
34 lines (25 loc) · 919 Bytes
/
sca.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Static code analysis
on:
pull_request:
push:
jobs:
analyse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: none, bcmath, curl, dom, fileinfo, gd, iconv, intl, mbstring, pdo_mysql, simplexml, soap, sockets, tokenizer, xsl, zip
coverage: none
- run: composer validate --strict
- working-directory: .dev-tools
run: composer install
- working-directory: .dev-tools
run: composer normalize --diff --dry-run --indent-size=4 --indent-style=space ../composer.json
- working-directory: .dev-tools
run: ./vendor/bin/php-cs-fixer fix -vvv --diff --dry-run
- working-directory: .dev-tools
run: ./vendor/bin/phpstan
- working-directory: .dev-tools
run: ./vendor/bin/psalm --no-progress --shepherd