Skip to content

Update CI configuration and improve test execution #88

Update CI configuration and improve test execution

Update CI configuration and improve test execution #88

Workflow file for this run

name: Lint code
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Checkout code
uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: json
tools: composer:v2
coverage: none
- name: Install PHP dependencies
run: composer update --no-interaction --no-progress
- name: Run Linter
run: composer run lint
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: 'chore: fix styling'