diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2e106678..746e60f9 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -5,7 +5,7 @@ jobs: name: Run runs-on: ${{ matrix.operating-system }} strategy: - max-parallel: 6 + max-parallel: 8 matrix: operating-system: [ubuntu-latest, windows-latest, macOS-latest] php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3'] @@ -24,7 +24,7 @@ jobs: - name: Run tests and send coverage run: | npm test - curl -s https://codecov.io/bash | bash -s -- -t ${{secrets.CODECOV_TOKEN}} -f coverage/clover.xml -n github-actions-codecov + curl -s https://codecov.io/bash | bash -s -- -t ${{secrets.CODECOV_TOKEN}} -f coverage/clover.xml -n github-actions-codecov-${{ matrix.operating-system }}-php${{ matrix.php-versions }} - name: Installing PHP with extensions and custom config run: node lib/install.js diff --git a/README.md b/README.md index f12846f5..018f2193 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,35 @@ +

+ + Setup PHP in GitHub Actions + +

+ # Setup PHP in GitHub Actions

GitHub Actions status LICENSE + PHP Versions Supported + Support me on Patreon Support me on Paypal + Get Help on codementor

-[GitHub Action](https://github.com/features/actions) to install PHP with required extensions, php.ini configuration and composer. This action can be added as a step in your action workflow and it will setup the PHP environment you need to test your application. Refer to [Usage](#usage) section to see how to use this. +Setup PHP with required extensions, php.ini configuration and composer in [GitHub Actions](https://github.com/features/actions). This action can be added as a step in your action workflow and it will setup the PHP environment you need to test your application. Refer to [Usage](#usage) section to see how to use this. -## PHP Versions Support -- 5.6 -- 7.0 -- 7.1 -- 7.2 -- 7.3 -- 7.4 `7.4.0beta4` on `ubuntu`, and `7.4.0RC2` on `windows` and `macOS` +## :tada: PHP Supported Versions -**Note:** PHP 7.4 is currently in development, do not use in production. +|PHP Version|Stability|Release Support| +|--- |--- |--- | +|5.6|`Stable`|`End of life`| +|7.0|`Stable`|`End of life`| +|7.1|`Stable`|`Security fixes only`| +|7.2|`Stable`|`Active`| +|7.3|`Stable`|`Active`| +|7.4|`Beta`/`RC`|`Active`| -## OS Support +**Note:** PHP 7.4 is currently in development, do not use in production/release branches. + +## :cloud: OS/Platform Support |Virtual environment|matrix.operating-system| |--- |--- | @@ -28,13 +40,13 @@ |macOS X Mojave 10.14|`macOS-latest` or `macOS-10.14`| -## PHP Extension Support +## :wrench: PHP Extension Support - On `ubuntu` extensions which have the package in apt are installed. - On `windows` and `macOS` PECL extensions are installed. - Extensions which are installed along with PHP if specified are enabled. - Extensions which cannot be installed gracefully leave an error message in the logs, the action is not interruped. -## Usage +## :memo: Usage Inputs supported by this GitHub Action. @@ -94,15 +106,20 @@ jobs: ``` -## License +## :scroll: License -The scripts and documentation in this project are released under the [MIT License](LICENSE) +The scripts and documentation in this project are released under the [MIT License](LICENSE). This project has multiple [dependencies](https://github.com/shivammathur/setup-php/network/dependencies) and their licenses can be found in their respective repositories. -## Contributions +## :+1: Contributions -Contributions are welcome! See [Contributor's Guide](docs/contributors.md) +Contributions are welcome! See [Contributor's Guide](docs/contributors.md). -## This action uses the following works +## :sparkling_heart: Support this project + +- Please star the project and share it among your developer friends. +- Consider supporting on Support me on Patreon and Support me on Paypal. + +## :bookmark: This action uses the following works - [powershell-phpmanager](https://github.com/mlocati/powershell-phpmanager) - [Homebrew](https://brew.sh/) @@ -110,7 +127,7 @@ Contributions are welcome! See [Contributor's Guide](docs/contributors.md) - [exolnet/homebrew-deprecated](https://github.com/eXolnet/homebrew-deprecated) - [phpbrew](https://github.com/phpbrew/phpbrew) -## Further Reading +## :bookmark_tabs: Further Reading - [About GitHub Actions](https://github.com/features/actions) - [GitHub Actions Syntax](https://help.github.com/en/articles/workflow-syntax-for-github-actions)