Skip to content

Commit

Permalink
Merge pull request #255 from publishpress/release-v3.8.0
Browse files Browse the repository at this point in the history
Release v3.8.0
  • Loading branch information
andergmartins authored Oct 8, 2020
2 parents 20b241e + 6d3fc3c commit 100c977
Show file tree
Hide file tree
Showing 28 changed files with 2,396 additions and 367 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/phplint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: PHPLint

on: [push]

jobs:
phplint:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v1
with:
php-version: '7.4'
extensions: intl

- name: Update the composer.lock file
run: composer update --lock

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Check syntax errors
run: ./vendor/bin/phplint
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "publishpress/publishpress-authors",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"description": "",
"authors": [
{
"name": "PublishPress",
Expand Down Expand Up @@ -55,7 +56,8 @@
"publishpress/publishpress-plugin-builder": "^1.2",
"phpmd/phpmd": "^2.8",
"squizlabs/php_codesniffer": "^3.5",
"sebastian/phpcpd": "^5.0"
"sebastian/phpcpd": "^5.0",
"overtrue/phplint": "^2.1"
},
"scripts": {
"cs-check": "vendor/bin/phpcs --standard=PSR12 ./src/ publishpress-authors.php --colors",
Expand Down
Loading

0 comments on commit 100c977

Please sign in to comment.