Execute php-cs-fixer via GitHub Actions

This commit is contained in:
Krzysztof Sikorski 2024-02-13 00:30:35 +01:00
parent 9f7da29d70
commit 3c13d47804
Signed by: krzysztof-sikorski
GPG key ID: 4EB564BD08FE8476

20
.github/workflows/php-cs-fixer.yaml vendored Normal file
View file

@ -0,0 +1,20 @@
name: PHP Coding Standards Fixer
on:
push:
pull_request:
permissions:
contents: read
jobs:
php-cs-fixer:
name: Execute `php-cs-fixer`
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
key: php-cs-fixer
path: .php-cs-fixer.cache
- name: Execute `php-cs-fixer`
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3.49-php8.3
with:
args: check -vvv --show-progress=dots