File tree Expand file tree Collapse file tree 4 files changed +58
-5
lines changed Expand file tree Collapse file tree 4 files changed +58
-5
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ updates :
4
+ - package-ecosystem : " github-actions"
5
+ directory : " /"
6
+ schedule :
7
+ interval : " weekly"
Original file line number Diff line number Diff line change
1
+ name : PHPStan Check
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+ pull_request :
7
+ branches : ["main"]
8
+
9
+ jobs :
10
+ laravel-tests :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : shivammathur/setup-php@fc14643b0a99ee9db10a3c025a33d76544fa3761
15
+ with :
16
+ php-version : " 8.2"
17
+ - uses : actions/checkout@v4
18
+ - name : Copy .env
19
+ run : php -r "file_exists('.env') || copy('.env.example', '.env');"
20
+ - name : Install Dependencies
21
+ run : composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
22
+ - name : Generate key
23
+ run : php artisan key:generate
24
+ - name : phpstan analyse
25
+ run : ./vendor/bin/phpstan analyse
Original file line number Diff line number Diff line change
1
+ name : Format Check
2
+
3
+ on :
4
+ push :
5
+ branches : ["main"]
6
+ pull_request :
7
+ branches : ["main"]
8
+
9
+ jobs :
10
+ laravel-tests :
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - uses : shivammathur/setup-php@fc14643b0a99ee9db10a3c025a33d76544fa3761
15
+ with :
16
+ php-version : " 8.2"
17
+ - uses : actions/checkout@v4
18
+ - name : Copy .env
19
+ run : php -r "file_exists('.env') || copy('.env.example', '.env');"
20
+ - name : Install Dependencies
21
+ run : composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
22
+ - name : Generate key
23
+ run : php artisan key:generate
24
+ - name : pint format
25
+ run : ./vendor/bin/pint
Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
14
+ - uses : shivammathur/setup-php@fc14643b0a99ee9db10a3c025a33d76544fa3761
15
15
with :
16
16
php-version : " 8.2"
17
17
- uses : actions/checkout@v4
27
27
run : |
28
28
mkdir -p database
29
29
touch database/database.sqlite
30
- - name : phpstan analyse
31
- run : ./vendor/bin/phpstan analyse
32
- - name : pint format
33
- run : ./vendor/bin/pint
34
30
- name : Execute tests (Unit and Feature tests) via PHPUnit/Pest
35
31
env :
36
32
DB_CONNECTION : sqlite
You can’t perform that action at this time.
0 commit comments