Skip to content

Commit eec3808

Browse files
committed
Updated github actions
1 parent 60e8975 commit eec3808

File tree

5 files changed

+21
-44
lines changed

5 files changed

+21
-44
lines changed

.github/workflows/phpstan-5.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/phpstan-6.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PHPStan level 6
22
on: push
33
jobs:
4-
phpstan:
4+
phpstan-6:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v3

.github/workflows/phpstan-7.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PHPStan level 7
22
on: push
33
jobs:
4-
phpstan:
4+
phpstan-7:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v3

.github/workflows/phpstan-8.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PHPStan level 8
22
on: push
33
jobs:
4-
phpstan:
4+
phpstan-8:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@v3

.github/workflows/quality.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Quality (PHPStan lvl 4)
1+
name: Quality (PHPStan lvl 5)
22
on: push
33
jobs:
44
cs-fixer:
@@ -17,20 +17,20 @@ jobs:
1717
phpstan:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
21-
- uses: actions/cache@v3
22-
with:
23-
path: '**/vendor'
24-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
25-
restore-keys: |
26-
${{ runner.os }}-composer-
27-
- uses: php-actions/composer@v6
28-
with:
29-
args: --prefer-dist
30-
php_version: '8.2'
31-
32-
- name: PHPStan
33-
uses: php-actions/phpstan@v3
34-
with:
35-
path: src/
36-
level: 4
20+
- uses: actions/checkout@v3
21+
- uses: actions/cache@v3
22+
with:
23+
path: '**/vendor'
24+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
25+
restore-keys: |
26+
${{ runner.os }}-composer-
27+
- uses: php-actions/composer@v6
28+
with:
29+
args: --prefer-dist
30+
php_version: '8.2'
31+
- name: PHPStan
32+
uses: php-actions/phpstan@v3
33+
with:
34+
path: src/
35+
level: 5
36+
php_version: '8.2'

0 commit comments

Comments
 (0)