Skip to content

Commit a6d064b

Browse files
committed
Stop versioning composer.lock
`composer.lock` should only be versioned for projects, not for libraries.
1 parent f80ba2f commit a6d064b

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
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/cache@v1
4444
with:
4545
path: ~/.cache/composer
46-
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.lock') }}
46+
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
4747
restore-keys: |
4848
php${{ matrix.php-version }}-composer-
4949

.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)