File tree Expand file tree Collapse file tree 7 files changed +53
-2511
lines changed Expand file tree Collapse file tree 7 files changed +53
-2511
lines changed Original file line number Diff line number Diff line change 1+ # To get started with Dependabot version updates, you'll need to specify which
2+ # package ecosystems to update and where the package manifests are located.
3+ # Please see the documentation for all configuration options:
4+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+ version : 2
7+ updates :
8+ - package-ecosystem : " composer" # See documentation for possible values
9+ directory : " /" # Location of package manifests
10+ schedule :
11+ interval : " weekly"
12+
13+ - package-ecosystem : " github-actions"
14+ directory : " /"
15+ schedule :
16+ # Check for updates to GitHub Actions every week
17+ interval : " weekly"
Original file line number Diff line number Diff line change 11name : PHP CI
22
33on :
4- - push
5- - pull_request
4+ pull_request :
5+ branches :
6+ - ' main'
7+ push :
8+ branches :
9+ - ' main'
610
711jobs :
812 build :
913 runs-on : ubuntu-latest
10-
11- strategy :
12- matrix :
13- php-versions : ['7.4', '8.1']
14-
1514 steps :
16- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v5
1716
18- - name : Set up PHP ${{ matrix.php-versions }}
17+ - name : Setup PHP
1918 uses : shivammathur/setup-php@v2
2019 with :
21- php-version : ${{ matrix.php-versions }}
20+ php-version : ' 8.4'
21+
22+ - name : PHP Security Checker
23+ uses :
StephaneBour/[email protected] 2224
23- - name : Install
24- run : make install
25+ - name : Setup project
26+ run : make setup
2527
2628 - name : Check lint
2729 run : make lint
2830
29- - name : Execute tests
31+ - name : Execute tests via PHPUnit
3032 run : make test
Original file line number Diff line number Diff line change 11vendor
22.phpunit *
3+ composer.lock
Original file line number Diff line number Diff line change 22 composer install
33
44test :
5- composer run-script phpunit tests
5+ composer exec phpunit tests
66
77lint :
8- composer run-script phpcs -- --standard=PSR12 src tests
8+ composer exec phpcs -- --standard=PSR12 src tests
Original file line number Diff line number Diff line change 1010 }
1111 ],
1212 "require" : {
13- "php" : " >=7.4 || >=8.1" ,
14- "tightenco/collect" : " ^8.79"
15- },
16- "scripts" : {
17- "phpcs" : " phpcs" ,
18- "phpunit" : " phpunit --colors=always" ,
19- "test" : " phpunit tests"
13+ "php" : " >=8.3" ,
14+ "illuminate/collections" : " ^12"
2015 },
2116 "autoload" : {
2217 "files" : [
2318 " src/graphs.php"
2419 ]
2520 },
2621 "require-dev" : {
27- "phpunit/phpunit" : " ^9.5 " ,
28- "squizlabs/php_codesniffer" : " ^3.6 "
22+ "phpunit/phpunit" : " ^12 " ,
23+ "squizlabs/php_codesniffer" : " * "
2924 }
3025}
You can’t perform that action at this time.
0 commit comments