Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zephir-lang/templates
Templates and reusable workflows for Github Actions
https://github.com/zephir-lang/templates
Last synced: 5 days 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T20:16:14.000Z (8 months ago)
- Last Synced: 2024-03-27T08:27:25.176Z (8 months ago)
- Homepage:
- Size: 44.9 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
```