File tree Expand file tree Collapse file tree 6 files changed +49
-2192
lines changed Expand file tree Collapse file tree 6 files changed +49
-2192
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 -- --colors=always 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
You can’t perform that action at this time.
0 commit comments