mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-30 04:29:15 +01:00
Fix actions
This commit is contained in:
parent
8a1acbe4e1
commit
20f9953b1a
33
.github/workflows/main.yml
vendored
33
.github/workflows/main.yml
vendored
@ -46,12 +46,11 @@ jobs:
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v2"
|
||||
- name: "Install PHP"
|
||||
uses: "shivammathur/setup-php@v2"
|
||||
with:
|
||||
coverage: "none"
|
||||
php-version: "${{ matrix.php-version }}"
|
||||
tools: composer:v2
|
||||
- name: Setup PHP ${{ matrix.php-version }}
|
||||
env:
|
||||
PHP_VERSION: ${{ matrix.php-version }}
|
||||
run: |
|
||||
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
|
||||
- name: "Install dependencies"
|
||||
run: "composer update --no-progress --prefer-dist ${{ matrix.flags }}"
|
||||
- name: "PHPUnit"
|
||||
@ -62,12 +61,11 @@ jobs:
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v2"
|
||||
- name: "Install PHP"
|
||||
uses: "shivammathur/setup-php@v2"
|
||||
with:
|
||||
coverage: "none"
|
||||
php-version: "8.0"
|
||||
tools: composer:v2
|
||||
- name: Setup PHP 8.0
|
||||
env:
|
||||
PHP_VERSION: "8.0"
|
||||
run: |
|
||||
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
|
||||
- name: "Install PHP 8 dependencies"
|
||||
run: "composer update --no-progress --prefer-dist"
|
||||
- name: "Tests"
|
||||
@ -78,12 +76,11 @@ jobs:
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v2"
|
||||
- name: "Install PHP"
|
||||
uses: "shivammathur/setup-php@v2"
|
||||
with:
|
||||
coverage: "none"
|
||||
php-version: "7.0"
|
||||
tools: composer:v2
|
||||
- name: Setup PHP 7.0
|
||||
env:
|
||||
PHP_VERSION: "7.0"
|
||||
run: |
|
||||
echo "$HOME/.local/php/$PHP_VERSION" >> $GITHUB_PATH
|
||||
- name: "Install PHP 8 dependencies"
|
||||
run: "composer update --no-progress --prefer-dist"
|
||||
- name: "Tests"
|
||||
|
Loading…
Reference in New Issue
Block a user