raspisms/.github/workflows/codestyle.yml

22 lines
589 B
YAML
Raw Normal View History

2020-06-22 19:58:01 +02:00
# This is a basic workflow to help you get started with Actions
name: CodeStyle
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [push]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
2020-06-22 20:15:45 +02:00
php-cs-fixer:
name: PHP-CS-Fixer
2020-06-22 19:58:01 +02:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-06-22 20:15:45 +02:00
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
2020-06-22 19:58:01 +02:00
with:
2020-06-22 20:15:45 +02:00
args: --config="./tests/php-cs-fixer/php_cs.config"
2020-06-22 19:58:01 +02:00