diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a00c9f..232885d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,10 +44,15 @@ jobs: echo "${PWD}/mu-plugins/vendor/bin" >> $GITHUB_PATH - name: Install PHP_CodeSniffer - steps: - - uses: actions/checkout@v3 - - name: WPCS check - uses: 10up/wpcs-action@stable + run: | + curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar + php phpcs.phar --version + + - uses: thenabeel/action-phpcs@v8 + with: + files: "**.php" + phpcs_path: php phpcs.phar + standard: phpcs.xml.dist phpunit: name: PHP Unit Tests