diff --git a/Dockerfile b/Dockerfile index 7ab4b38..5e8f707 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,5 @@ FROM php:7.3-cli -LABEL "com.github.actions.name"="PHP Syntax checker" -LABEL "com.github.actions.description"="Run PHP Syntax checker (php -l)" -LABEL "com.github.actions.icon"="eye" -LABEL "com.github.actions.color"="gray-dark" - LABEL version="7.3" LABEL repository="https://github.com/StephaneBour/actions-php-lint" LABEL homepage="https://github.com/StephaneBour/actions-php-lint" diff --git a/README.md b/README.md index 8ba820e..5feaf03 100644 --- a/README.md +++ b/README.md @@ -11,18 +11,19 @@ The folder to control. Default `"."`. ## Example usage ```yaml -uses: StephaneBour/actions-php-lint@v7.3 -with: - dir: './src' +- name: PHP Syntax Checker (Lint) + uses: StephaneBour/actions-php-lint@7.3 + with: + dir: './src' ``` ## Change PHP Version You can use : ``` -StephaneBour/actions-php-lint@v7.3 -StephaneBour/actions-php-lint@v7.2 -StephaneBour/actions-php-lint@v7.1 -StephaneBour/actions-php-lint@v7.0 -StephaneBour/actions-php-lint@v5.6 +StephaneBour/actions-php-lint@7.3 +StephaneBour/actions-php-lint@7.2 +StephaneBour/actions-php-lint@7.1 +StephaneBour/actions-php-lint@7.0 +StephaneBour/actions-php-lint@5.6 ``` diff --git a/action.yml b/action.yml index 893485b..7f810b6 100644 --- a/action.yml +++ b/action.yml @@ -1,5 +1,8 @@ name: 'PHP Syntax Checker (Lint)' description: 'php syntax control (php -l)' +branding: + icon: 'check-circle' + color: 'green' inputs: dir: description: 'Folder to check syntax'