Skip to content

feat: setup.sh

feat: setup.sh #15

Workflow file for this run

name: Fix Styles
on:
push:
branches: [master]
jobs:
style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- name: Install dependencies
run: |
composer install
composer dump
- name: Fix styles
run: vendor/bin/php-cs-fixer fix
- name: Run style
run: vendor/bin/php-cs-fixer fix --dry-run --diff --format junit
- uses: EndBug/add-and-commit@v9