Skip to content

55. new field in 1C for site product id #314

55. new field in 1C for site product id

55. new field in 1C for site product id #314

Workflow file for this run

name: PHPStan
on: [ push, pull_request_target ]
jobs:
phpstan:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Download and extract sxGeo database
run: |
wget https://sypexgeo.net/files/SxGeoCountry.zip
unzip SxGeoCountry.zip -d database/sxgeo
- name: Install dependencies
run: composer install --no-interaction --no-scripts --no-progress --prefer-dist
- name: Execute PHPStan
run: vendor/bin/phpstan analyse