Skip to content

Require PSR/log 2 or 3 #36

Require PSR/log 2 or 3

Require PSR/log 2 or 3 #36

name: Lint and analyse files
permissions:
contents: read
on: [push]
jobs:
lint-php:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache module
uses: actions/cache@v3
with:
path: ~/.composer/cache/
key: composer-cache
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
- name: Install dependencies
run: composer install --no-interaction
- name: Lint files
run: composer run phpcs