Skip to content

Replace legacy app bridge with app bridge cdn (#361) #352

Replace legacy app bridge with app bridge cdn (#361)

Replace legacy app bridge with app bridge cdn (#361) #352

Workflow file for this run

name: PHP Lint
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
coverage: none
- name: Get Composer cache directory
id: cache-composer
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Restore Composer cache
uses: actions/cache@v3
with:
path: ${{ steps.cache-composer.outputs.dir }}
key: ${{ runner.os }}-${{ github.ref_name }}-composer-${{ hashFiles('**/composer.lock') }}
- name: Install Composer dependencies
run: |
composer install --no-interaction --prefer-dist
- name: Check for code style violation with PHP-CS-Fixer
run: vendor/bin/php-cs-fixer fix --diff