Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license-checker to CI pipeline #45

Merged
merged 1 commit into from
Jan 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .allowed-licenses
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Artistic-1.0
- BSD-3-Clause
- ISC
- MIT
- MPL-2.0
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Install Composer dependencies
run: composer install

- name: Composer license check
run: composer check-license

- name: Codesniffer
run: composer cs-check

Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
],
"require": {
"php": "^8.2",
"madewithlove/license-checker": "^1.6",
"sylius/sylius": "^2.0"
},
"require-dev": {
Expand Down Expand Up @@ -81,6 +82,7 @@
],
"cs-check": "vendor/bin/ecs check",
"cs-fix": "vendor/bin/ecs check --fix",
"check-license": "vendor/bin/license-checker check",
"analyze": "vendor/bin/phpstan analyze",
"test": "vendor/bin/phpunit",
"coverage": "vendor/bin/phpunit --coverage-clover clover.xml"
Expand Down
Loading