Skip to content
Snippets Groups Projects
Verified Commit 6d63decd authored by Pavel Vyskočil's avatar Pavel Vyskočil
Browse files

build: update workflow

* add all required php extensions
* update some steps
parent 04c3c83d
No related branches found
No related tags found
1 merge request!52build: update workflow
......@@ -11,25 +11,24 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [7.4, 8.0]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache Composer dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- name: Install dependencies
uses: php-actions/composer@v5
uses: php-actions/composer@v6
with:
php_version: ${{ matrix.php-version }}
version: 2
php_extensions: json
php_extensions: curl iconv intl json ldap
- name: Run easy coding standard
run: vendor/bin/ecs check
release:
......@@ -38,11 +37,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14
- name: Release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment