feat: new v4 version #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Chilean Rut CI" | |
on: | |
pull_request: | |
branches: ['master'] | |
paths: | |
- '**.php' | |
- 'composer.json' | |
- '.github/workflows/ci.yml' | |
- '.github/workflows/php.yml' | |
push: | |
branches: ['master'] | |
paths: | |
- '**.php' | |
- 'composer.json' | |
- '.github/workflows/ci.yml' | |
- '.github/workflows/php.yml' | |
jobs: | |
ci: | |
name: 'CI' | |
uses: ./.github/workflows/php.yml | |
strategy: | |
matrix: | |
php-version: | |
- '8.2' | |
- '8.3' | |
composer-cmd: | |
- 'install --ansi --no-interaction --no-progress --no-suggest --prefer-dist' # Lock | |
- 'update --ansi --no-interaction --no-progress --no-suggest --prefer-dist --prefer-lowest' # Lowest | |
- 'update --ansi --no-interaction --no-progress --no-suggest --prefer-dist --prefer-highest' # Highest | |
with: | |
php-version: ${{ matrix.php-version }} | |
composer-cmd: ${{ matrix.composer-flags }} | |
secrets: inherit | |
# Publishes code coverage report | |
publish-coverage: | |
name: "Publish Coverage" | |
needs: ['ci'] | |
if: ${{ github.ref_name == 'master' }} | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |