Skip to content

Commit

Permalink
feat(CI): add GH action for code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Viguier authored and matyo91 committed Apr 24, 2021
1 parent 4214f75 commit 10dafbe
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: php-cs-fixer
on: [push, pull_request]

jobs:
php-cs-fixer:
name: php-cs-fixer
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: '7.4'
extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv
tools: php-cs-fixer
- uses: actions/checkout@master
- run: composer install --prefer-dist
- run: composer code-style-check

0 comments on commit 10dafbe

Please sign in to comment.