Skip to content

Commit

Permalink
Reproduction example for 209
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Dec 25, 2021
1 parent f2b4b3d commit 98a82bd
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1 deletion.
41 changes: 41 additions & 0 deletions .github/workflows/poc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Test

on:
# Run on pushes to select branches and on all pull requests.
push:

jobs:
poc:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: ['5.6']

name: "PHP ${{ matrix.php }}"

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

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
ini-values: zend.assertions=1, error_reporting=-1, display_errors=On
coverage: none

- name: Use Composer 1.x
run: composer self-update --1

- name: Install Composer dependencies
uses: "ramsey/composer-install@v2"

- name: Validate composer.json
if: ${{ always() }}
run: composer validate --strict

- name: Validate composer.json with `no-check-version`
if: ${{ always() }}
run: composer validate --no-check-version
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# composer-install-action-bug
# composer-install-action-bug
Temporary repo to test and demo an issue with ramsey/composer-install@v2.
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "jrfnl/composer-install-bug-207",
"description": "Proof of concept",
"license": "GPL-2.0-or-later"
}

0 comments on commit 98a82bd

Please # to comment.