Skip to content

Bump to version 2.3 and regenerate POT file #7

Bump to version 2.3 and regenerate POT file

Bump to version 2.3 and regenerate POT file #7

Workflow file for this run

name: Lint
on:
push:
branches:
- master
paths:
- '**.php'
pull_request:
types: [opened, edited, synchronize, reopened]
paths:
- '**.php'
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate composer.json and composer.lock
run: composer validate
- name: Get Composer Cache Directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache Composer vendor directory
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Detecting PHP Code Standards Violations
run: composer run-script lint