Skip to content

Commit

Permalink
Update github action config file
Browse files Browse the repository at this point in the history
  • Loading branch information
guanguans committed Jun 21, 2023
1 parent 93ad38f commit 2ccd4ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
- name: Run composer install
run: composer install --prefer-dist --ansi --no-interaction --no-scripts --ansi -v

- name: Install global psalm
run: composer global require vimeo/psalm --prefer-dist --ansi --no-interaction --no-scripts
- name: Run composer install bin
run: composer install --prefer-dist --ansi --no-interaction --ansi -v

# - name: Install global psalm
# run: composer global require vimeo/psalm --prefer-dist --ansi --no-interaction --no-scripts

- name: Run psalm
run: composer psalm
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"post-merge": [
"@composer install"
],
"psalm": "psalm",
"psalm": "@php ./vendor/bin/psalm",
"psalm-baseline": "@psalm --update-baseline",
"rector": "rector --clear-cache --ansi -v",
"rector-dry-run": "@rector --dry-run",
Expand Down

0 comments on commit 2ccd4ba

Please sign in to comment.