Skip to content

Commit b3c04f4

Browse files
committed
Use installed packages for security check
1 parent a8052c3 commit b3c04f4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/securitycheck.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ jobs:
3535
php-version: ${{ matrix.php }}
3636
coverage: none
3737

38-
- name: Enable creation of `composer.lock` file
39-
run: composer config --unset lock
40-
4138
# Install dependencies and handle caching in one go.
4239
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
4340
- name: Install Composer dependencies
@@ -56,4 +53,4 @@ jobs:
5653
run: chmod +x ./local-php-security-checker_2.0.6_linux_amd64
5754

5855
- name: Check against insecure dependencies
59-
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

0 commit comments

Comments
 (0)