Skip to content

Merge pull request #12 from NeilWJames/master #3

Merge pull request #12 from NeilWJames/master

Merge pull request #12 from NeilWJames/master #3

Workflow file for this run

# Based on https://github.com/wp-document-revisions/wp-document-revisions
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
phpcs:
runs-on: ubuntu-latest
env:
TRAVIS_BUILD_DIR: ${{ github.workspace }}
strategy:
matrix:
php_version: [7.4]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
extensions: mysqli
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: phpcs
run: scripts/phpcs