File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,15 @@ jobs:
35
35
php-version : ${{ matrix.php }}
36
36
coverage : none
37
37
38
- - name : Enable creation of `composer.lock` file
39
- run : composer config --unset lock
40
-
41
38
# Install dependencies and handle caching in one go.
42
39
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
43
40
- name : Install Composer dependencies
44
41
uses : " ramsey/composer-install@v3"
45
42
with :
46
43
# Bust the cache at least once a month - output format: YYYY-MM.
47
44
custom-cache-suffix : $(date -u "+%Y-%m")
45
+ # Ignore development-only packages in security check
46
+ composer-options : " --no-dev"
48
47
49
48
- name : Download security checker
50
49
# yamllint disable-line rule:line-length
54
53
run : chmod +x ./local-php-security-checker_2.0.6_linux_amd64
55
54
56
55
- name : Check against insecure dependencies
57
- run : ./local-php-security-checker_2.0.6_linux_amd64 --path=composer.lock
56
+ run : ./local-php-security-checker_2.0.6_linux_amd64 --path=vendor/ composer/installed.json
You can’t perform that action at this time.
0 commit comments