-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (35 loc) · 897 Bytes
/
static.yml
File metadata and controls
44 lines (35 loc) · 897 Bytes
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
35
36
37
38
39
40
41
42
43
44
name: Static analysis
on:
push:
branches:
- '*.x'
pull_request:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: PHPStan
uses: docker://oskarstark/phpstan-ga@v3
with:
args: analyze --no-progress
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga@v3
with:
args: --dry-run