Skip to content

Commit d374e45

Browse files
committedJun 18, 2024·
Add composer validation check
1 parent c3f53e7 commit d374e45

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed
 

‎.github/workflows/pull_request.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pull request
2+
on:
3+
pull_request:
4+
workflow_dispatch:
5+
jobs:
6+
composer-install:
7+
name: Composer Install
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
12+
with:
13+
persist-credentials: false
14+
- name: Setup PHP
15+
uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: '8.2'
18+
tools: composer
19+
- name: Validate composer files
20+
run: composer validate --no-check-all --strict

‎composer.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"name": "m_arcus/php-codestyle-swissknife-docker",
3+
"description": "PHP-Codestyle-Swissknife-Docker",
4+
"license": "MIT",
25
"require": {
36
"driftingly/rector-laravel": "^1.2",
47
"frosh/shopware-rector": "^0.4.0",

‎composer.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.