Skip to content

Commit

Permalink
add workflow for composer validation
Browse files Browse the repository at this point in the history
  • Loading branch information
pifou25 committed Jun 8, 2024
1 parent 61e789c commit 32b6cc3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/composer-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Validate Compoer dependencies
# this workflows check composer dependency installation
# using the commited composer.lock
# validate on php7.3 and 8.2

on:
pull_request:
branches:
- alpha
- beta
- V4-stable

jobs:
build-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Validate dependencies php7.3
uses: php-actions/composer@v6
with:
php_version: '7.3'
command: validate

- name: Validate dependencies php8.2
uses: php-actions/composer@v6
with:
php_version: '8.2'
command: validate

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Thumbs.db
.buildpath
.vscode
ui
composer.lock

test.php
core/config/common.config.php
Expand Down Expand Up @@ -45,4 +44,3 @@ tmp/*
!tmp/.htaccess

!.htaccess
.github/

0 comments on commit 32b6cc3

Please sign in to comment.