Skip to content

Commit

Permalink
chore: apply new action directive
Browse files Browse the repository at this point in the history
  • Loading branch information
StephaneBour committed Nov 4, 2019
1 parent 216534e commit 0591a66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,19 @@ The folder to control. Default `"."`.
## Example usage

```yaml
uses: StephaneBour/[email protected]
with:
dir: './src'
- name: PHP Syntax Checker (Lint)
uses: StephaneBour/[email protected]
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
```
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 0591a66

Please sign in to comment.