Skip to content

chore(deps): Fix Acorn 4.x support #28

chore(deps): Fix Acorn 4.x support

chore(deps): Fix Acorn 4.x support #28

Workflow file for this run

name: main
on: [pull_request]
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
coverage: xdebug
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-8.1.x-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-8.1.x-composer-
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader --no-suggest
- name: PHP lint
run: composer run-script lint