Skip to content

Bump stefanzweifel/git-auto-commit-action from 4 to 5 #43

Bump stefanzweifel/git-auto-commit-action from 4 to 5

Bump stefanzweifel/git-auto-commit-action from 4 to 5 #43

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
run-tests:
name: πŸͺ² Run tests
runs-on: ubuntu-latest
strategy:
matrix:
php: ["7.3", "7.4", "8.0"]
steps:
- name: πŸ“₯ Checkout repository
uses: actions/checkout@v4
- name: πŸ“¦ Composer install
uses: php-actions/composer@v6
with:
php-version: ${{ matrix.php }}
- name: 🧰 Run unit tests
uses: php-actions/phpunit@v3
with:
configuration: phpunit.xml
php_version: ${{ matrix.php }}
check-code-style:
name: πŸ’…πŸ» Check code style
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: πŸ“₯ Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: πŸ›  Run php-cs-fixer
uses: docker://oskarstark/php-cs-fixer-ga
- name: πŸ€– Apply php-cs-fixer changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply php-cs-fixer changes