ci: validate composer file and lock
This commit is contained in:
parent
5871178fc0
commit
df38a8efd1
4
.github/workflows/linter.yml
vendored
4
.github/workflows/linter.yml
vendored
|
@ -18,6 +18,10 @@ jobs:
|
|||
|
||||
- run: git checkout HEAD^2
|
||||
|
||||
- name: Validate composer.json and composer.lock
|
||||
run: |
|
||||
docker run --rm -v $PWD:/app composer sh -c \
|
||||
"composer install --profile --ignore-platform-reqs && composer validate"
|
||||
- name: Run Linter
|
||||
run: |
|
||||
docker run --rm -v $PWD:/app composer sh -c \
|
||||
|
|
Loading…
Reference in a new issue