File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change 1515 - ' .github/workflows/phpcpd.yml'
1616
1717jobs :
18- build :
19- name : Code Copy-Paste Detection
20- runs-on : ubuntu-latest
21- if : " !contains(github.event.head_commit.message, '[ci skip]')"
22-
23- steps :
24- - name : Checkout
25- uses : actions/checkout@v4
26-
27- - name : Setup PHP
28- uses : shivammathur/setup-php@v2
29- with :
30- php-version : ' 8.0'
31- tools : phpcpd
32- extensions : dom, mbstring
33- coverage : none
34-
35- - name : Detect duplicate code
36- run : phpcpd src/ tests/ --exclude src/Database/Migrations/2020-12-28-223112_create_auth_tables.php --exclude src/Authentication/Authenticators/HmacSha256.php --exclude tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php
18+ phpcpd :
19+ uses : codeigniter4/.github/.github/workflows/phpcpd.yml@main
20+ with :
21+ dirs : " src/ tests/"
22+ options : " --exclude src/Database/Migrations/2020-12-28-223112_create_auth_tables.php --exclude src/Authentication/Authenticators/HmacSha256.php --exclude tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php"
You can’t perform that action at this time.
0 commit comments