Update workflow

This commit is contained in:
osaajani 2020-06-23 18:53:33 +02:00
parent 2fbf757984
commit 40282eec9f
1 changed files with 32 additions and 0 deletions

32
.github/workflows/debian.yml vendored Normal file
View File

@ -0,0 +1,32 @@
# 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:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --config="./tests/php-cs-fixer/php_cs.config"
- name: Commit changes
run: |
git add --all
git commit -m "Fix codestyle."
- name: Push changes # push the modif to repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true