Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Prepare repository migration #7

Prepare repository migration

Prepare repository migration #7

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
cs-check:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
- name: setup
uses: shivammathur/[email protected]
with:
php-version: 8.2
coverage: none
- name: install PHP CS Fixer
uses: ramsey/composer-install@v2
with:
composer-options: '--working-dir=tools/php-cs-fixer'
- name: 'php-cs-fixer check'
run: 'tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff'
tests:
runs-on: ubuntu-latest
name: tests
steps:
- name: checkout
uses: actions/checkout@master
- name: cache-composer
uses: actions/cache@v2
with:
path: ~/.composer/cache/
key: composer-${{ github.sha }}
- name: setup
uses: shivammathur/[email protected]
with:
php-version: 8.2
coverage: none
extensions: mbstring, fileinfo, json, intl, dom
- name: composer install
run: composer update --prefer-stable
- name: tests
run: vendor/bin/phpunit