Skip to content

Merge pull request #923 from Sjors1985/922-Removed-Twitter-Facebook-L… #13

Merge pull request #923 from Sjors1985/922-Removed-Twitter-Facebook-L…

Merge pull request #923 from Sjors1985/922-Removed-Twitter-Facebook-L… #13

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