feat: new v4 version (#5)
This commit is contained in:
39
.github/workflows/ci.yml
vendored
Normal file
39
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
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
|
||||
with:
|
||||
php-version: 8.2
|
||||
composer-cmd: install --ansi --no-interaction --no-progress --no-suggest --prefer-dist
|
||||
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
|
||||
Reference in New Issue
Block a user