File tree Expand file tree Collapse file tree 5 files changed +110
-96
lines changed Expand file tree Collapse file tree 5 files changed +110
-96
lines changed Original file line number Diff line number Diff line change 1
1
name : Fix syling
2
2
3
3
on :
4
- push :
5
- branches :
6
- - master
7
- - " *.x"
8
- paths :
9
- - " **.php"
4
+ push :
5
+ branches :
6
+ - master
7
+ - " *.x"
8
+ paths :
9
+ - " **.php"
10
10
11
- pull_request :
12
- paths :
13
- - " **.php"
11
+ pull_request :
12
+ paths :
13
+ - " **.php"
14
14
15
15
permissions :
16
- contents : write
16
+ contents : write
17
17
jobs :
18
- php-cs-fixer :
19
- runs-on : ubuntu-latest
20
- steps :
21
- - name : Checkout code
22
- uses : actions/checkout@v3
23
- with :
24
- ref : ${{ github.head_ref }}
18
+ run :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v3
23
+ with :
24
+ ref : ${{ github.head_ref }}
25
25
26
- - name : Install dependencies
27
- run : composer install
26
+ - name : Setup PHP
27
+ uses : shivammathur/setup-php@v2
28
+ with :
29
+ php-version : 8.2
30
+ tools : composer:v2
31
+ coverage : none
28
32
29
- - name : Execute php-cs-fixer
30
- run : ./vendor/bin/php-cs-fixer fix
33
+ - name : Install dependencies
34
+ run : composer install
31
35
32
- - uses : stefanzweifel/git-auto-commit-action@v4
33
- with :
34
- commit_message : Fix styling
36
+ - name : Execute php-cs-fixer
37
+ run : ./vendor/bin/php-cs-fixer fix
38
+
39
+ - uses : stefanzweifel/git-auto-commit-action@v4
40
+ with :
41
+ commit_message : Fix styling
Original file line number Diff line number Diff line change 2
2
name : static analysis
3
3
4
4
on :
5
- push :
6
- branches :
7
- - master
8
- - ' *.x'
9
- pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+ - ' *.x'
9
+ pull_request :
10
10
11
11
jobs :
12
- run :
13
- runs-on : ubuntu-latest
14
- strategy :
15
- fail-fast : true
12
+ run :
13
+ runs-on : ubuntu-latest
14
+ strategy :
15
+ fail-fast : true
16
16
17
- steps :
18
- - name : Checkout code
19
- uses : actions/checkout@v3
17
+ steps :
18
+ - name : Checkout code
19
+ uses : actions/checkout@v3
20
20
21
- - name : Setup PHP
22
- uses : shivammathur/setup-php@v2
23
- with :
24
- php-version : 8.1
25
- tools : composer:v2
26
- coverage : none
21
+ - name : Setup PHP
22
+ uses : shivammathur/setup-php@v2
23
+ with :
24
+ php-version : 8.2
25
+ tools : composer:v2
26
+ coverage : none
27
27
28
- - name : Install dependencies
29
- uses : nick-fields/retry@v2
30
- with :
31
- timeout_minutes : 5
32
- max_attempts : 5
33
- command : composer update --prefer-stable --prefer-dist --no-interaction --no-progress
28
+ - name : Install dependencies
29
+ uses : nick-fields/retry@v2
30
+ with :
31
+ timeout_minutes : 5
32
+ max_attempts : 5
33
+ command : composer update --prefer-stable --prefer-dist --no-interaction --no-progress
34
34
35
- - name : Execute PHPStan
36
- run : vendor/bin/phpstan --configuration="phpstan.neon.dist"
35
+ - name : Execute PHPStan
36
+ run : vendor/bin/phpstan --configuration="phpstan.neon.dist"
Original file line number Diff line number Diff line change 1
1
name : " Tests"
2
2
3
3
on :
4
- push :
5
- branches :
6
- - master
7
- - ' *.x'
8
- pull_request :
4
+ push :
5
+ branches :
6
+ - master
7
+ - ' *.x'
8
+ pull_request :
9
9
10
10
jobs :
11
- run :
12
- runs-on : ubuntu-latest
13
- strategy :
14
- matrix :
15
- php-versions : ["8.1 ", "8.2 "]
16
- steps :
17
- - name : Setup PHP
18
- uses : shivammathur/setup-php@v2
19
- with :
20
- php-version : ${{ matrix.php-versions }}
11
+ run :
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ php-versions : ["8.2 ", "8.3 "]
16
+ steps :
17
+ - name : Setup PHP
18
+ uses : shivammathur/setup-php@v2
19
+ with :
20
+ php-version : ${{ matrix.php-versions }}
21
21
22
- - name : Checkout code
23
- uses : actions/checkout@v3
22
+ - name : Checkout code
23
+ uses : actions/checkout@v3
24
24
25
- - name : Install dependencies
26
- run : composer install --prefer-dist --no-progress --no-interaction
25
+ - name : Install dependencies
26
+ run : composer install --prefer-dist --no-progress --no-interaction
27
27
28
- - name : Execute tests
29
- run : ./vendor/bin/pest
28
+ - name : Execute tests
29
+ run : ./vendor/bin/pest
Original file line number Diff line number Diff line change 1
1
name : View Compiling
2
2
3
3
on :
4
- push :
5
- branches :
6
- - master
7
- - " *.x"
8
- paths :
9
- - " **.php"
4
+ push :
5
+ branches :
6
+ - master
7
+ - " *.x"
8
+ paths :
9
+ - " **.php"
10
10
11
- pull_request :
12
- paths :
13
- - " **.php"
11
+ pull_request :
12
+ paths :
13
+ - " **.php"
14
14
15
15
permissions :
16
- contents : write
16
+ contents : write
17
17
jobs :
18
- run :
19
- runs-on : ubuntu-latest
20
- steps :
21
- - name : Checkout code
22
- uses : actions/checkout@v3
23
- with :
24
- ref : ${{ github.head_ref }}
18
+ run :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout code
22
+ uses : actions/checkout@v3
23
+ with :
24
+ ref : ${{ github.head_ref }}
25
25
26
- - name : Install dependencies
27
- run : composer install
26
+ - name : Setup PHP
27
+ uses : shivammathur/setup-php@v2
28
+ with :
29
+ php-version : 8.2
30
+ tools : composer:v2
31
+ coverage : none
28
32
29
- - name : Execute script
30
- run : php .github/scripts/compile-templates.php
33
+ - name : Install dependencies
34
+ run : composer install
31
35
32
- - uses : stefanzweifel/git-auto-commit-action@v4
33
- with :
34
- commit_message : Compiling Templates
36
+ - name : Execute script
37
+ run : php .github/scripts/compile-templates.php
38
+
39
+ - uses : stefanzweifel/git-auto-commit-action@v4
40
+ with :
41
+ commit_message : Compiling Templates
Original file line number Diff line number Diff line change 21
21
}
22
22
],
23
23
"require" : {
24
- "php" : " ^8.1 " ,
24
+ "php" : " ^8.2 " ,
25
25
"illuminate/support" : " ^10.0" ,
26
26
"illuminate/validation" : " ^10.0" ,
27
27
"symfony/html-sanitizer" : " ^7.0"
You can’t perform that action at this time.
0 commit comments