From 6d63decd6cf7ef29c145ec65c81267255f306f23 Mon Sep 17 00:00:00 2001 From: Pavel Vyskocil <pavel.vyskocil@cesnet.cz> Date: Fri, 20 May 2022 10:33:34 +0200 Subject: [PATCH] build: update workflow * add all required php extensions * update some steps --- .github/workflows/build_and_check.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_check.yml b/.github/workflows/build_and_check.yml index 5bfe013..f702604 100644 --- a/.github/workflows/build_and_check.yml +++ b/.github/workflows/build_and_check.yml @@ -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 -- GitLab