Skip to content

Commit

Permalink
Merge pull request #10 from ronvanderheijden/fix-composer
Browse files Browse the repository at this point in the history
fixed pipeline resolve composer plugin problems
  • Loading branch information
ronvanderheijden authored Jan 12, 2023
2 parents d789981 + 5ed8d9e commit cd4b1e4
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/php81.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PHP 8.1

on: push

jobs:
php80:
name: Check PHP 8.1
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
uses: php-actions/composer@v5
with:
php_version: 8.1
args: --prefer-dist --ignore-platform-reqs

- name: Check code styling
run: composer ecs-check

- name: Create keys
run: ./bin/create_keys

- name: Run unit and feature tests
run: composer test
27 changes: 27 additions & 0 deletions .github/workflows/php82.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PHP 8.2

on: push

jobs:
php80:
name: Check PHP 8.2
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
uses: php-actions/composer@v5
with:
php_version: 8.2
args: --prefer-dist --ignore-platform-reqs

- name: Check code styling
run: composer ecs-check

- name: Create keys
run: ./bin/create_keys

- name: Run unit and feature tests
run: composer test
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,10 @@
"composer outdated --direct --no-ansi",
"composer outdated --minor-only --strict --direct"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}

0 comments on commit cd4b1e4

Please sign in to comment.