Skip to content

Commit

Permalink
feat: composer configuration & remove /vendor
Browse files Browse the repository at this point in the history
add workflow for composer validation
fix: composer install for php7 but update for php8
  • Loading branch information
pifou25 committed Jul 6, 2024
1 parent 72f2683 commit 3be034d
Show file tree
Hide file tree
Showing 2,251 changed files with 21,364 additions and 213,082 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/composer-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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
args: --no-check-publish

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

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/
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"name": "jeedom/jeedom",
"description": "Software for home automation",
"type": "project",
"homepage": "https://jeedom.com/fr/",
"license": "GPL-2.0",
"require": {
"dragonmantank/cron-expression": "^3.3",
"symfony/expression-language": "^5.4",
Expand All @@ -12,7 +17,7 @@
"bacon/bacon-qr-code": "^2.0",
"guzzlehttp/guzzle" : "^6.5.8",
"http-interop/http-factory-guzzle": "^1.2",
"symfony/http-client": "^7.0",
"symfony/http-client": "^5.4 || ^7.0",
"nyholm/psr7": "^1.8"
},
"config": {
Expand Down
Loading

0 comments on commit 3be034d

Please sign in to comment.