Skip to content

Commit

Permalink
Fix style action
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunnyka98 committed Apr 19, 2023
1 parent dfd4faf commit d835489
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,9 @@ on: [push, pull_request]
jobs:

style:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master

- name: Only fetch Style PHP submodule
run: git submodule update --init -- .style

- name: Install latest PHP-CS-Fixer
run: wget https://cs.symfony.com/download/php-cs-fixer-v2.phar

- name: Run Checks
run: php php-cs-fixer-v2.phar fix --config=.style/.php_cs -v --dry-run --allow-risky=yes .
- name: Checkout module
uses: actions/checkout@master
- name: Check style
uses: symcon/action-style@master

0 comments on commit d835489

Please sign in to comment.