Skip to content

chore: upgrade to PHP SDK v3 #3

chore: upgrade to PHP SDK v3

chore: upgrade to PHP SDK v3 #3

Workflow file for this run

name: Checks
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
concurrency:
group: checks-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
name: PHP ${{ matrix.php-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
php-version:
- "8.0"
- "8.5"
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v2
coverage: none
- name: Validate dependencies
run: composer validate --strict
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --no-progress
- name: Check syntax
run: php -l src/index.php
- name: Run application
run: php src/index.php