Skip to content

Commit

Permalink
[TASK] Avoid generating a composer.lock
Browse files Browse the repository at this point in the history
This is a library, and libraries should not have a lock file.

Fixes #1252
  • Loading branch information
oliverklee committed Feb 13, 2024
1 parent 24be92d commit 0ef72d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
php${{ matrix.php-version }}-composer-
- name: Install Composer dependencies
run: composer install --no-progress
run: composer update --no-progress

- name: Install development tools
run: phive --no-progress install --trust-gpg-keys 0FDE18AE1D09E19F60F6B1CBC00543248C87FB13,BBAB5DF0A0D6672989CF1869E82B2FB314E9906E,A972B9ABB95D0B760B51442231C7E470E2138192,9882DD2B38813C08EA651B69A4E55EA12C7C085C,2DE50EB60C013FFFA831040D12CE0F1D262429A5
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
else
DEPENDENCIES='';
fi;
composer install --no-progress;
composer update --with-dependencies --no-progress;
composer update --with-dependencies --no-progress "${DEPENDENCIES}";
composer show;
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
}
},
"config": {
"lock": false,
"preferred-install": {
"*": "dist"
},
Expand Down

0 comments on commit 0ef72d3

Please sign in to comment.