mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Bump version to 2.15.0
Update Node.js dependencies Replace husky with simple-git-hooks Cleanup whitespace in README Fix git command in format script
This commit is contained in:
parent
295b5da700
commit
17ef667e04
21
README.md
21
README.md
@ -471,7 +471,7 @@ steps:
|
||||
php-version: '8.0'
|
||||
extensions: mbstring, intl
|
||||
ini-values: post_max_size=256M, max_execution_time=180
|
||||
coverage: xdebug
|
||||
coverage: xdebug
|
||||
tools: php-cs-fixer, phpunit
|
||||
```
|
||||
|
||||
@ -491,7 +491,7 @@ jobs:
|
||||
include:
|
||||
- operating-system: 'ubuntu-latest'
|
||||
php-versions: '7.2'
|
||||
phpunit-versions: '8.5.19'
|
||||
phpunit-versions: '8.5.21'
|
||||
steps:
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
@ -499,7 +499,7 @@ jobs:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
extensions: mbstring, intl
|
||||
ini-values: post_max_size=256M, max_execution_time=180
|
||||
coverage: xdebug
|
||||
coverage: xdebug
|
||||
tools: php-cs-fixer, phpunit:${{ matrix.phpunit-versions }}
|
||||
```
|
||||
|
||||
@ -614,13 +614,10 @@ jobs:
|
||||
run:
|
||||
runs-on: self-hosted
|
||||
strategy:
|
||||
matrix:
|
||||
matrix:
|
||||
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
|
||||
name: PHP ${{ matrix.php-versions }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
@ -886,14 +883,16 @@ Examples of using `setup-php` with various PHP Frameworks and Packages.
|
||||
|
||||
## :sparkling_heart: Support This Project
|
||||
|
||||
- This project is provided as Free and Open-Source software. We need funds to maintain and do future improvements. Please sponsor setup-php using [GitHub sponsors](https://github.com/sponsors/shivammathur).
|
||||
- Please [reach out](mailto:contact@setup-php.com) if you have any questions about sponsoring setup-php.
|
||||
- Please star the project and share it. If you blog, please share your experience of using this action.
|
||||
- Please sponsor setup-php using [GitHub sponsors](https://github.com/sponsors/shivammathur).
|
||||
- Please [reach out](mailto:contact@setup-php.com) if you have any questions about sponsoring setup-php.
|
||||
|
||||
[![Sponsor shivammathur](https://img.shields.io/badge/-Sponsor-fafbfc?logo=GitHub%20Sponsors)](https://github.com/sponsors/shivammathur)
|
||||
|
||||
### Corporate Sponsors
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/sponsors/shivammathur">
|
||||
<a href="https://setup-php.com/sponsors-corp/?">
|
||||
<img src="https://setup-php.com/sponsors-corp/?" alt="Corporate sponsors of setup-php and related projects" width="100%">
|
||||
</a>
|
||||
</p>
|
||||
@ -901,7 +900,7 @@ Examples of using `setup-php` with various PHP Frameworks and Packages.
|
||||
### Individual Sponsors
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/sponsors/shivammathur">
|
||||
<a href="https://setup-php.com/sponsors/?">
|
||||
<img src="https://setup-php.com/sponsors/?" alt="Individual sponsors of setup-php and related projects" width="100%">
|
||||
</a>
|
||||
</p>
|
||||
|
2390
package-lock.json
generated
2390
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
31
package.json
31
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "setup-php",
|
||||
"version": "2.14.0",
|
||||
"version": "2.15.0",
|
||||
"private": false,
|
||||
"description": "Setup PHP for use with GitHub Actions",
|
||||
"main": "lib/install.js",
|
||||
@ -17,7 +17,7 @@
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"lint": "eslint **/src/*.ts --cache --fix",
|
||||
"format": "prettier --write **/src/*.ts && git add .",
|
||||
"format": "prettier --write **/src/*.ts && git add -f src/",
|
||||
"format-check": "prettier --check **/src/*.ts",
|
||||
"release": "ncc build -o dist && git add -f dist/",
|
||||
"test": "jest"
|
||||
@ -40,30 +40,27 @@
|
||||
"fs": "0.0.1-security"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^27.0.1",
|
||||
"@types/node": "^16.9.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.31.0",
|
||||
"@typescript-eslint/parser": "^4.31.0",
|
||||
"@vercel/ncc": "^0.31.0",
|
||||
"@types/jest": "^27.0.2",
|
||||
"@types/node": "^16.10.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
||||
"@typescript-eslint/parser": "^4.32.0",
|
||||
"@vercel/ncc": "^0.31.1",
|
||||
"eslint": "^7.32.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-import": "^2.24.2",
|
||||
"eslint-plugin-jest": "^24.4.0",
|
||||
"eslint-plugin-jest": "^24.4.2",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"husky": "^4.3.8",
|
||||
"jest": "^27.1.1",
|
||||
"jest-circus": "^27.1.1",
|
||||
"prettier": "^2.4.0",
|
||||
"jest": "^27.2.2",
|
||||
"jest-circus": "^27.2.2",
|
||||
"prettier": "^2.4.1",
|
||||
"simple-git-hooks": "^2.6.1",
|
||||
"ts-jest": "^27.0.5",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/shivammathur/setup-php/issues"
|
||||
},
|
||||
"husky": {
|
||||
"skipCI": true,
|
||||
"hooks": {
|
||||
"pre-commit": "npm run format && npm run lint && npm run test && npm run build && npm run release"
|
||||
}
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "npm run format && npm run lint && npm run test && npm run build && npm run release"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user