Skip to content

Commit

Permalink
Use installed packages for security check
Browse files Browse the repository at this point in the history
  • Loading branch information
fredden committed Nov 27, 2024
1 parent a8052c3 commit b3c04f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/securitycheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
php-version: ${{ matrix.php }}
coverage: none

- name: Enable creation of `composer.lock` file
run: composer config --unset lock

# Install dependencies and handle caching in one go.
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
- name: Install Composer dependencies
Expand All @@ -56,4 +53,4 @@ jobs:
run: chmod +x ./local-php-security-checker_2.0.6_linux_amd64

- name: Check against insecure dependencies
run: ./local-php-security-checker_2.0.6_linux_amd64 --path=composer.lock
run: ./local-php-security-checker_2.0.6_linux_amd64 --path=vendor/composer/installed.json

0 comments on commit b3c04f4

Please sign in to comment.