File tree Expand file tree Collapse file tree 3 files changed +40
-5
lines changed
tests/Commands/GenerateQuestions/Choices Expand file tree Collapse file tree 3 files changed +40
-5
lines changed Original file line number Diff line number Diff line change
1
+ name : PHPUnit
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ permissions :
10
+ contents : read
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+
20
+ - name : Validate composer.json and composer.lock
21
+ run : composer validate --strict
22
+
23
+ - name : Cache Composer packages
24
+ id : composer-cache
25
+ uses : actions/cache@v3
26
+ with :
27
+ path : vendor
28
+ key : ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
29
+ restore-keys : |
30
+ ${{ runner.os }}-php-
31
+
32
+ - name : Install dependencies
33
+ run : composer install --prefer-dist --no-progress
34
+
35
+ - name : Run code style check
36
+ run : vendor/bin/pint --test
Original file line number Diff line number Diff line change 18
18
"illuminate/contracts" : " ^9.0 | ^10.0" ,
19
19
"twig/twig" : " ^3.0"
20
20
},
21
+ "require-dev" : {
22
+ "laravel/pint" : " ^1.4" ,
23
+ "orchestra/testbench" : " ^7.19"
24
+ },
21
25
"extra" : {
22
26
"laravel" : {
23
27
"providers" : [
42
46
"optimize-autoloader" : true ,
43
47
"preferred-install" : " dist" ,
44
48
"sort-packages" : true
45
- },
46
- "require-dev" : {
47
- "laravel/pint" : " ^1.4" ,
48
- "orchestra/testbench" : " ^7.19"
49
49
}
50
50
}
Original file line number Diff line number Diff line change 2
2
3
3
namespace BlameButton \LaravelDockerBuilder \Tests \Commands \GenerateQuestions \Choices ;
4
4
5
- use BlameButton \LaravelDockerBuilder \Commands \GenerateQuestions \Choices \NodePackageManager ;
6
5
use BlameButton \LaravelDockerBuilder \Commands \GenerateQuestions \Choices \PhpVersion ;
7
6
use BlameButton \LaravelDockerBuilder \Tests \TestCase ;
8
7
You can’t perform that action at this time.
0 commit comments