https://github.com/zephir-lang/templates
Templates and reusable workflows for Github Actions
https://github.com/zephir-lang/templates
Last synced: 5 months ago
JSON representation
Templates and reusable workflows for Github Actions
- Host: GitHub
- URL: https://github.com/zephir-lang/templates
- Owner: zephir-lang
- License: mit
- Created: 2021-10-08T15:23:55.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-27T16:31:02.000Z (over 1 year ago)
- Last Synced: 2025-01-27T17:33:26.821Z (over 1 year ago)
- Homepage:
- Size: 49.8 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Actions Templates for Zephir and Phalcon
Unified templates of Zephir.
## Inspection with PHP Code Sniffer
```yaml
jobs:
# PHP CodeSniffer inspection
phpcs:
uses: zephir-lang/templates/.github/workflows/phpcs.yml@main
with:
standard: ./phpcs.xml
```
## Generate Stubs for Phalcon and validates with PSALM
```yaml
jobs:
# Generate stubs and validates with PSALM
stubs:
uses: zephir-lang/templates/.github/workflows/phalcon-stubs.yml@main
with:
extensions: psr, zephir_parser
```
## Creates Phalcon PECL package
```yaml
jobs:
generate:
uses: zephir-lang/templates/.github/workflows/phalcon-pecl.yml@main
with:
extensions: psr, zephir_parser
secrets:
composer-token: ${{ secrets.GITHUB_TOKEN }}
```
## Install Phalcon extension after build and makes simple health checks
```yaml
jobs:
install:
uses: zephir-lang/templates/.github/workflows/phalcon-install-from-build.yml@main
with:
extensions: psr, zephir_parser
```