Skip to content

Files not from archive (#77) #202

Files not from archive (#77)

Files not from archive (#77) #202

Workflow file for this run

name: liquetsoft_fias
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Liquetsoft FIAS (PHP ${{ matrix.php-versions }}, Symfony components ${{ matrix.symfony-components-versions }})
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php-versions: ['8.2', '8.3']
symfony-components-versions: ['^5.0', '^6.0', '^7.0']
steps:
- uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- name: Check PHP Version
run: php -v
- name: Validate composer.json and composer.lock
run: composer validate
- name: Set up Symfony components versions
run: "sed -i -E \"s#\\\"(symfony/.+)\\\".*:.*\\\"(.+)\\\"#\\\"\\1\\\":\\\"${{ matrix.symfony-components-versions }}\\\"#g\" composer.json"
- name: Show composer.json
run: cat composer.json
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run test suite
run: composer run-script test
- name: Run linters
run: composer run-script linter