Skip to content

release: 0.1.0

release: 0.1.0 #68

Workflow file for this run

name: WordPress Coding Standards
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
jobs:
run:
runs-on: ubuntu-latest
name: Checkout repo
steps:
- name: Cancel previous runs of this workflow (pull requests only)
if: ${{ github.event_name == 'pull_request' }}
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP w/ Composer & WP-CLI
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
extensions: mbstring, intl
tools: composer:v2
- name: Install dependencies
uses: ramsey/composer-install@v2
with:
composer-options: "--no-progress"
- name: Run PHP_CodeSniffer
run: composer run-script check-cs