Skip to content

Commit

Permalink
Merge pull request #218 from fredden/feature/composer.lock-false
Browse files Browse the repository at this point in the history
Composer: avoid writing a lock file
  • Loading branch information
jrfnl authored May 3, 2024
2 parents f7c3dac + ea173e9 commit 94d27f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/securitycheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
"PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Tests\\": "tests/"
}
},
"config": {
"lock": false
},
"extra": {
"class": "PHPCSStandards\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
},
Expand Down

0 comments on commit 94d27f7

Please sign in to comment.