action.yml 643 B

1234567891011121314151617181920212223242526
  1. name: "Setup PHP"
  2. inputs:
  3. version:
  4. description: 'PHP version'
  5. required: true
  6. coverage:
  7. description: 'coverage mode'
  8. required: false
  9. default: 'none'
  10. tools:
  11. description: 'tools'
  12. required: false
  13. default: 'none'
  14. runs:
  15. using: "composite"
  16. steps:
  17. - name: Setup PHP
  18. uses: shivammathur/setup-php@v2
  19. with:
  20. php-version: ${{ inputs.version }}
  21. coverage: ${{ inputs.coverage }}
  22. tools: composer, ${{ inputs.tools }}
  23. extensions: none, ctype, curl, dom, json, mbstring, opcache, openssl, simplexml, tokenizer, xml, xmlwriter, zip
  24. ini-values: zend.assertions=1