Execute php-cs-fixer
via GitHub Actions
This commit is contained in:
parent
9f7da29d70
commit
3c13d47804
1 changed files with 20 additions and 0 deletions
20
.github/workflows/php-cs-fixer.yaml
vendored
Normal file
20
.github/workflows/php-cs-fixer.yaml
vendored
Normal 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
|
Reference in a new issue