From 936fed232540954a6c7b4922451ba6a47e196665 Mon Sep 17 00:00:00 2001 From: Eugene Molotov Date: Mon, 11 Jan 2021 21:44:04 +0500 Subject: [PATCH] fixup! fixup! fixup! fixup! testing lint --- .github/workflows/lint.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2bb0c0f1f61..e54302840b7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,12 +7,28 @@ on: branches: [ master ] jobs: - build: + phpcs: runs-on: ubuntu-16.04 + strategy: + matrix: + php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4'] steps: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: - php-version: '5.6' + php-version: ${{ matrix.php-versions }} + tools: phpcs + - run: phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p + + phpcompatibility: + runs-on: ubuntu-16.04 + strategy: + matrix: + php-versions: ['5.6', '7.4'] + steps: + - uses: actions/checkout@v2 + - uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php-versions }} tools: phpcs - run: phpcs . --standard=phpcs.xml --warning-severity=0 --extensions=php -p