From 9879aba283ca08529dcd4c1350d4a8bd301e73c5 Mon Sep 17 00:00:00 2001 From: sasezaki Date: Tue, 5 Oct 2021 09:39:10 +0900 Subject: [PATCH 1/2] Lint all *.php files, not only src --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 951f99c5f..a3a55ecc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: COMPOSER_ROOT_VERSION: dev-master - run: | - vendor/bin/parallel-lint src + git ls-files | grep \\\.php$ | ./vendor/bin/parallel-lint --stdin chunk-matrix: name: Generate Chunk Matrix From 82d6e4c83be10ebd8f5716ab6efb46c7fce8301e Mon Sep 17 00:00:00 2001 From: sasezaki Date: Tue, 5 Oct 2021 09:57:06 +0900 Subject: [PATCH 2/2] exclude dictionaries/scripts from lint --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3a55ecc9..e75e8d50c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: COMPOSER_ROOT_VERSION: dev-master - run: | - git ls-files | grep \\\.php$ | ./vendor/bin/parallel-lint --stdin + git ls-files | grep \\\.php$ | grep -v ^dictionaries/scripts/* | ./vendor/bin/parallel-lint --stdin chunk-matrix: name: Generate Chunk Matrix