File tree Expand file tree Collapse file tree 7 files changed +37
-43
lines changed
Expand file tree Collapse file tree 7 files changed +37
-43
lines changed Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ jobs:
1010 runs-on : ubuntu-latest
1111 if : ${{ github.actor == 'dependabot[bot]' }}
1212 steps :
13-
13+
1414 - name : Dependabot metadata
1515 id : metadata
1616 uses :
dependabot/[email protected] 1717 with :
1818 github-token : " ${{ secrets.GITHUB_TOKEN }}"
19-
19+
2020 - name : Auto-merge Dependabot PRs for semver-minor updates
2121 if : ${{steps.metadata.outputs.update-type == 'version-update:semver-minor'}}
2222 run : gh pr merge --auto --merge "$PR_URL"
2323 env :
2424 PR_URL : ${{github.event.pull_request.html_url}}
2525 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
26-
26+
2727 - name : Auto-merge Dependabot PRs for semver-patch updates
2828 if : ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
2929 run : gh pr merge --auto --merge "$PR_URL"
3030 env :
3131 PR_URL : ${{github.event.pull_request.html_url}}
32- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
32+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1+ name : Fix PHP code style issues
2+
3+ on : [push]
4+
5+ jobs :
6+ php-code-styling :
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - name : Checkout code
11+ uses : actions/checkout@v3
12+ with :
13+ ref : ${{ github.head_ref }}
14+
15+ - name : Fix PHP code style issues
16+ 17+
18+ - name : Commit changes
19+ uses : stefanzweifel/git-auto-commit-action@v4
20+ with :
21+ commit_message : Fix styling
Original file line number Diff line number Diff line change @@ -11,16 +11,16 @@ jobs:
1111 name : phpstan
1212 runs-on : ubuntu-latest
1313 steps :
14- - uses : actions/checkout@v2
14+ - uses : actions/checkout@v3
1515
1616 - name : Setup PHP
1717 uses : shivammathur/setup-php@v2
1818 with :
19- php-version : ' 8.0 '
19+ php-version : ' 8.1 '
2020 coverage : none
2121
2222 - name : Install composer dependencies
2323 uses : ramsey/composer-install@v1
2424
2525 - name : Run PHPStan
26- run : ./vendor/bin/phpstan --error-format=github
26+ run : ./vendor/bin/phpstan --error-format=github
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,18 +13,18 @@ jobs:
1313 fail-fast : true
1414 matrix :
1515 os : [ubuntu-latest, windows-latest]
16- php : [8.0, 8. 1]
16+ php : [8.1]
1717 laravel : [9.*]
1818 stability : [prefer-lowest, prefer-stable]
1919 include :
2020 - laravel : 9.*
21- testbench : ^7.0
21+ testbench : 7.*
2222
2323 name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2424
2525 steps :
2626 - name : Checkout code
27- uses : actions/checkout@v2
27+ uses : actions/checkout@v3
2828
2929 - name : Setup PHP
3030 uses : shivammathur/setup-php@v2
4444 composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4545
4646 - name : Execute tests
47- run : vendor/bin/pest
47+ run : vendor/bin/pest
Original file line number Diff line number Diff line change 1010
1111 steps :
1212 - name : Checkout code
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v3
1414 with :
1515 ref : main
1616
2525 with :
2626 branch : main
2727 commit_message : Update CHANGELOG
28- file_pattern : CHANGELOG.md
28+ file_pattern : CHANGELOG.md
Original file line number Diff line number Diff line change 4848 }
4949 },
5050 "scripts" : {
51- "pint" : " pint" ,
52- "test:pest" : " pest --parallel" ,
53- "test:phpstan" : " phpstan analyse" ,
51+ "pint" : " vendor/bin/ pint" ,
52+ "test:pest" : " vendor/bin/ pest --parallel" ,
53+ "test:phpstan" : " vendor/bin/ phpstan analyse" ,
5454 "test" : [
5555 " @test:pest" ,
5656 " @test:phpstan"
You can’t perform that action at this time.
0 commit comments