Skip to content

Update hashids/hashids requirement from ^4.1 to ^5.0 #91

Update hashids/hashids requirement from ^4.1 to ^5.0

Update hashids/hashids requirement from ^4.1 to ^5.0 #91

Workflow file for this run

name: Unit tests
on:
pull_request:
push:
defaults:
run:
shell: bash
jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php: '7.4'
mode: low-deps
- php: '7.4'
- php: '8.0'
mode: low-deps
- php: '8.0'
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
extensions: "intl, bcmath"
php-version: "${{ matrix.php }}"
- name: Validate composer.json and composer.lock
run: composer validate --strict --no-check-lock
- name: Install dependencies
run: |
composer update --prefer-dist --no-progress $([ '${{ matrix.mode }}' = low-deps ] && echo '--prefer-lowest')
- name: Run phpspec
run: |
php vendor/bin/phpspec run