diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 60844ed..9d3729e 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,9 +1,8 @@ -pipeline: - test: +steps: + - name: test image: php:7.4-cli commands: - apt-get update && apt-get install -y git - - php -l wpa-superstar-plugin.php # Syntax check - - php -l admin/settings.php - - php -l includes/speed-functions.php - - echo "Basic linting passed" \ No newline at end of file + - php -l wp-allstars-plugin.php # Syntax check + - find . -name *.php -exec php -l {} \; + - echo "Basic linting passed"