-
-
Notifications
You must be signed in to change notification settings - Fork 2
91 lines (80 loc) · 2.5 KB
/
check-code.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: "Code check"
on:
workflow_call:
pull_request:
paths:
- "src/**"
- "tests/**"
- "composer.json"
- "ecs.php"
- "rector.php"
- "phpstan.neon"
- "phpstan-baseline.neon"
- "phpunit.xml"
- "artisan"
concurrency:
group: larastrict-check-${{ github.ref }}
cancel-in-progress: true
jobs:
code_l9:
name: "Code check - Laravel 9"
strategy:
matrix:
phpVersion: [ "8.1", "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v7"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit
code_l10:
name: "Code check - Laravel 10"
strategy:
matrix:
phpVersion: [ "8.1", "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v8"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit
code_l11:
name: "Code check - Laravel 11"
strategy:
matrix:
phpVersion: [ "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-check.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v9"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit
tests_l9:
name: "Code check - Laravel 9"
strategy:
matrix:
phpVersion: [ "8.1", "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v7"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit
tests_l10:
name: "Code check - Laravel 10"
strategy:
matrix:
phpVersion: [ "8.1", "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v8"
phpVersion: "${{ matrix.phpVersion }}"
secrets: inherit
tests_l11:
name: "Code check - Laravel 11"
strategy:
matrix:
phpVersion: [ "8.2", "8.3" ]
uses: wrk-flow/reusable-workflows/.github/workflows/php-tests.yml@2bfd2e2fdf3fa3cf0cdf1b2c6d0379f91066084e
with:
composerRequireDev: "orchestra/testbench:^v9"
phpVersion: "${{ matrix.phpVersion }}"
gistID: ${{ vars.GIST_ID }}
gistOnPhpVersion: "8.2"
secrets: inherit