mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 03:04:04 +00:00
fix github action workflow
This commit is contained in:
parent
1cf56a7400
commit
b4b8cf86a9
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -43,14 +43,14 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install php-cs-fixer
|
|
||||||
run: composer global require friendsofphp/php-cs-fixer
|
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.0'
|
php-version: '8.0'
|
||||||
env:
|
env:
|
||||||
update: true
|
update: true
|
||||||
|
- name: Install php-cs-fixer
|
||||||
|
run: composer global require friendsofphp/php-cs-fixer
|
||||||
- name: Run php-cs-fixer
|
- name: Run php-cs-fixer
|
||||||
run: $HOME/.composer/vendor/bin/php-cs-fixer fix --config=.php_cs.php
|
run: $HOME/.composer/vendor/bin/php-cs-fixer fix --config=.php_cs.php
|
||||||
- name: Commit changes from php-cs-fixer
|
- name: Commit changes from php-cs-fixer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue