mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 02:09:58 +01:00
Select PHP version for phpstan
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
This commit is contained in:
8
.github/workflows/phpstan.yml
vendored
8
.github/workflows/phpstan.yml
vendored
@@ -9,6 +9,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Change PHP version
|
||||
run: |
|
||||
sudo update-alternatives --set php /usr/bin/php8.0
|
||||
sudo update-alternatives --set phar /usr/bin/phar8.0
|
||||
sudo update-alternatives --set phpdbg /usr/bin/phpdbg8.0
|
||||
sudo update-alternatives --set php-cgi /usr/bin/php-cgi8.0
|
||||
sudo update-alternatives --set phar.phar /usr/bin/phar.phar8.0
|
||||
php -version
|
||||
- name: Validate composer.json and composer.lock
|
||||
run: composer validate
|
||||
- name: Cache Composer packages
|
||||
|
||||
Reference in New Issue
Block a user