Skip to content

Move json example to the bottom #82

Move json example to the bottom

Move json example to the bottom #82

Workflow file for this run

name: "Integration"
on:
push:
branches:
- "*"
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
php: ['7.3', '7.4', '8.0', '8.1']
steps:
- uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2, phive
extensions: mbstring
- name: PHP Version
run: php -v
- name : Install tooling
run : GITHUB_AUTH_TOKEN=${{ secrets.GITHUB_TOKEN }} phive --no-progress --home ./.phive install --force-accept-unsigned --trust-gpg-keys 4AA394086372C20A,31C7E470E2138192,8E730BA25823D8B5,CF1A108D0E7AE720,2A8299CE842DD38C,661E97400F658E25
- name: Update composer
run: composer self-update
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest ${{ matrix.composeroptions }}
- name: Execute unit tests
run: tools/phpunit --configuration=phpunit.xml
- name: Check coding style
run: tools/phpcs --standard=psr2 src
- name: Static code analysis
run: tools/phpstan analyse