Skip to content

Bump tar from 6.2.0 to 6.2.1 #143

Bump tar from 6.2.0 to 6.2.1

Bump tar from 6.2.0 to 6.2.1 #143

name: Integration tests
on:
push:
branches:
- '*'
tags:
- '*'
pull_request:
jobs:
test:
name: Run code inspection
runs-on: ubuntu-20.04
if: |
(github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]') ||
(github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]')
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
uses: shivammathur/setup-php@master
with:
php-version: '7.3'
extension: intl, mbstring, json, bcmath
coverage: xdebug
tools: composer, php-cs-fixer, phpunit:7.5.20, phpcpd, phpmd
- name: Run PHPCS inspection
run: |
composer global config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
composer global require squizlabs/php_codesniffer
#composer global require "wp-coding-standards/wpcs"
#phpcs --config-set installed_paths ~/.composer/vendor/wp-coding-standards/wpcs
#phpcs --standard=WordPress-Core --report=code --ignore=.github,assets/js/*.min.js,assets/css/*.css --runtime-set ignore_warnings_on_exit true ./
- name: Run PHPMD inspection
run: |
composer global require "phpmd/phpmd"
#phpmd ./ text cleancode,codesize,controversial,design,naming,unusedcode --exclude .github