Skip to content

fix: update CI workflows, linter config, and PHP version constraint #185

fix: update CI workflows, linter config, and PHP version constraint

fix: update CI workflows, linter config, and PHP version constraint #185

Workflow file for this run

name: Lint
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
env:
PHP_VERSION: '8.3'
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ env.PHP_VERSION }}
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-php${{ env.PHP_VERSION }}-${{ hashFiles('**/composer.json') }}
- name: Install dependencies
uses: php-actions/composer@v6
with:
command: install
args: --prefer-dist --no-progress --verbose
php_version: ${{ env.PHP_VERSION }}
- name: Run lint
run: make lint