Update github action to use php8
This commit is contained in:
parent
f73a5587dc
commit
8a7bbdab27
1 changed files with 2 additions and 5 deletions
7
.github/workflows/run-tests.yml
vendored
7
.github/workflows/run-tests.yml
vendored
|
@ -28,14 +28,11 @@ jobs:
|
|||
key: ${{ runner.os }}-${{ hashFiles('**/package.json') }}
|
||||
- name: Install npm dependencies
|
||||
run: npm install
|
||||
- name: Install ImageMagick
|
||||
run: sudo apt install imagemagick
|
||||
- name: Setup PHP with pecl extension
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '7.4'
|
||||
tools: pecl, phpcs
|
||||
extensions: imagick
|
||||
php-version: '8.0'
|
||||
tools: phpcs
|
||||
- name: Copy .env
|
||||
run: php -r "file_exists('.env') || copy('.env.github', '.env');"
|
||||
- name: Install dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue