-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (30 loc) · 915 Bytes
/
ecs.yml
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
name: Static Analysis by Psalm
on: [ push, pull_request ]
jobs:
ecs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [ '8.0' ]
steps:
- name: Running Github Checkout
uses: actions/checkout@v2
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
ini-values: memory_limit=-1
tools: composer:v2
- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
~/.composer/cache
vendor
key: php-${{ matrix.php-version }}
restore-keys: php-${{ matrix.php-version }}
- name: Install Composer Dependencies
run: composer install --no-interaction --no-progress --ansi
- name: Running Psalm
run: vendor/bin/ecs check