Skip to content

refactor!: new config format #12

refactor!: new config format

refactor!: new config format #12

Workflow file for this run

name: Build Status
on:
pull_request:
branches: [master]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- name: Validate Pull Request Title
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Validate commit messages
uses: wagoid/commitlint-github-action@v5
php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
# Taken from https://github.com/kirschbaum-development/laravel-test-runner-container/blob/master/8.1/Dockerfile
extensions: mbstring, mysql, xml, xsl, zip, curl, bcmath, intl, bz2
- name: Install composer dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Validate PHP code
run: composer verify
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v