Skip to content

Commit

Permalink
feat: set php version for static analysis (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin authored May 4, 2024
1 parent ec514f1 commit 9d9920d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
run: |
composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
composer require "php:^${{ inputs.php-version }}"
- name: Run psalm
run: vendor/bin/psalm --output-format=github
Expand Down Expand Up @@ -76,7 +78,9 @@ jobs:
${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
run: |
composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
composer require "php:^${{ inputs.php-version }}"
- name: Run phpstan
run: vendor/bin/phpstan analyse

0 comments on commit 9d9920d

Please sign in to comment.