-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2905 from pifou25/feat/validate_composer
add workflow to validate composer dependencies
- Loading branch information
Showing
6 changed files
with
804 additions
and
1,639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Validate Composer dependencies | ||
# this workflows check composer dependency installation | ||
# using the commited composer.lock | ||
# validate on php7.4 and 8.2 | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- alpha | ||
|
||
jobs: | ||
build-test: | ||
runs-on: ubuntu-latest | ||
|
||
# define every php version to test | ||
strategy: | ||
# do not stop at first fail | ||
fail-fast: false | ||
matrix: | ||
php: [7.4, 8.2] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Validate dependencies php${{ matrix.php }} | ||
uses: php-actions/composer@v6 | ||
with: | ||
php_version: ${{ matrix.php }} | ||
command: validate | ||
args: --no-check-publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ Thumbs.db | |
.buildpath | ||
.vscode | ||
ui | ||
composer.lock | ||
|
||
test.php | ||
core/config/common.config.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.