Skip to content

Write push buttons that share a name as one field with each widget as a kid #843

Write push buttons that share a name as one field with each widget as a kid

Write push buttons that share a name as one field with each widget as a kid #843

Workflow file for this run

# https://help.github.com/en/categories/automating-your-workflow-with-github-actions
name: "Coding standard check"
on:
pull_request:
push:
branches:
- "development"
- "test"
- "gravitypdf"
jobs:
cs:
name: "Coding standard"
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
php-version:
- "7.4"
operating-system: [ubuntu-latest]
steps:
- name: "Checkout"
uses: "actions/checkout@v7"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
extensions: "mbstring"
tools: composer:v2
- name: "Locate Composer cache"
id: composer-cache
shell: bash
run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
- name: "Cache Composer downloads"
uses: "actions/cache@v6"
with:
path: "${{ steps.composer-cache.outputs.dir }}"
key: "composer-${{ runner.os }}-php${{ matrix.php-version }}-${{ hashFiles('composer.json') }}"
restore-keys: "composer-${{ runner.os }}-php${{ matrix.php-version }}-"
- name: "Install dependencies"
run: "composer install --no-interaction --no-progress"
- name: "CS"
run: composer cs