Skip to content

Commit 3fdcde3

Browse files
authored
use older stefanzweifel/git-auto-commit-action version (#25)
* use older stefanzweifel/git-auto-commit-action version not sure why, but it doesnt work with 3.0.0 atm * kill CS * Apply php-cs-fixer changes
1 parent ccad164 commit 3fdcde3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/csfix.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ jobs:
66
php-cs-fixer:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v1
1010
with:
1111
ref: ${{ github.head_ref }}
1212

13-
- name: Run php-cs-fixer
14-
uses: docker://oskarstark/php-cs-fixer-ga
13+
- name: "Install dependencies with composer"
14+
run: "composer install --no-interaction --no-progress --no-suggest"
1515

16-
- uses: stefanzweifel/git-auto-commit-action@v3.0.0
16+
- name: "Run friendsofphp/php-cs-fixer"
17+
run: "vendor/bin/php-cs-fixer fix --config=.php_cs --diff --diff-format=udiff --verbose"
18+
19+
- uses: stefanzweifel/git-auto-commit-action@v2.5.0
1720
with:
1821
commit_message: Apply php-cs-fixer changes
1922
branch: ${{ github.head_ref }}

0 commit comments

Comments
 (0)