diff --git a/.github/workflows/securitycheck.yml b/.github/workflows/securitycheck.yml index c6184bd9..ad225bb9 100644 --- a/.github/workflows/securitycheck.yml +++ b/.github/workflows/securitycheck.yml @@ -32,6 +32,9 @@ 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 diff --git a/composer.json b/composer.json index 70b38a17..7f644b12 100644 --- a/composer.json +++ b/composer.json @@ -51,6 +51,9 @@ "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Tests\\": "tests/" } }, + "config": { + "lock": false + }, "extra": { "class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" },