Create entity Tag and link to space #409
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
code-style: | |
name: Run PHP-CS-Fixer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up PHP | |
uses: erkenes/php-cs-fixer-action@main | |
with: | |
args: '--dry-run --diff -vvv' | |
phpcs: | |
name: Run PHP_CodeSniffer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.4' | |
tools: composer:v2 | |
- name: Install dependencies | |
run: composer install --no-progress --no-suggest --prefer-dist | |
- name: Install PHP_CodeSniffer | |
run: composer global require "squizlabs/php_codesniffer=*" | |
- name: Create the phpcs.xml | |
run: cp phpcs.xml.dist phpcs.xml | |
- name: Run PHP_CodeSniffer | |
run: ~/.composer/vendor/bin/phpcs -n |