Skip to content

Merge pull request #918 from warren5236/add-descriptive-help-to-the-t… #10

Merge pull request #918 from warren5236/add-descriptive-help-to-the-t…

Merge pull request #918 from warren5236/add-descriptive-help-to-the-t… #10

name: "Continuous Integration"
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build_sh:
name: "build.sh"
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 7.4
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Install PHP with extensions"
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-version }}
extensions: "gd, intl, json, mbstring, pdo"
coverage: "xdebug"
- name: "Cache dependencies installed with composer"
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: "Install dependencies with composer"
run: composer install --prefer-dist --no-progress
- name: "Run Build Script"
run: sh ./build.sh