Skip to content

Commit 638ccbf

Browse files
committed
Stop versioning composer.lock
`composer.lock` should only be versioned for projects, not for libraries.
1 parent 727f1ca commit 638ccbf

File tree

3 files changed

+3
-1480
lines changed

3 files changed

+3
-1480
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
uses: actions/cache@v1
6666
with:
6767
path: ~/.cache/composer
68-
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }}
68+
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
6969
restore-keys: |
7070
php${{ matrix.php-version }}-composer-
7171

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
vendor/
1+
/composer.lock
2+
/vendor/

0 commit comments

Comments
 (0)