Skip to content

Commit db4d8b5

Browse files
committed
Update composer lifecycle
- Commit composer.lock. - The lock is not ignored anymore. - Changed to ramsey/composer-install action for cache.
1 parent b701fac commit db4d8b5

4 files changed

Lines changed: 6446 additions & 4 deletions

File tree

.github/actions/setup-action/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,4 @@ runs:
4141
run: pip install ${{ inputs.python-deps }}
4242
shell: bash
4343

44-
- run: composer install --prefer-dist
45-
shell: bash
44+
- uses: "ramsey/composer-install@v3"

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
.phpbench/
44
.phpcs.cache
55
.phpunit.cache/
6-
composer.lock
76
Makefile
87
phpbench.json
98
phpcs.xml

REUSE.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version = 1
22

33
[[annotations]]
4-
path = [ "*.yml", "*.yaml", ".git*", "*.dist", "docs/.pages", "docs/validators/.pages", "composer.json", "tests/fixtures/*", ".github/*.yml", ".github/actions/**.yml", ".github/workflows/**.yml", ".github/PULL_REQUEST_TEMPLATE.md", ".github/ISSUE_TEMPLATE/**" ]
4+
path = [ "*.yml", "*.yaml", ".git*", "*.dist", "docs/.pages", "docs/validators/.pages", "composer.json", "composer.lock", "tests/fixtures/*", ".github/*.yml", ".github/actions/**.yml", ".github/workflows/**.yml", ".github/PULL_REQUEST_TEMPLATE.md", ".github/ISSUE_TEMPLATE/**" ]
55
SPDX-FileCopyrightText = "Respect Project Contributors"
66
SPDX-License-Identifier = "MIT"

0 commit comments

Comments
 (0)