fix linting
This commit is contained in:
parent
20ceab239c
commit
f3a6297464
3 changed files with 8 additions and 4 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
|||
echo "Composer is not available"
|
||||
exit 1
|
||||
fi
|
||||
# PHP Version is equal to 7.4
|
||||
# PHP Version is equal to 7.4
|
||||
if [ "$(php -r 'echo PHP_VERSION_ID;')" -gte 70400 && "$(php -r 'echo PHP_VERSION_ID;')" -lt 70500 ]; then
|
||||
echo "PHP Version is not 7.4. Got $(php -r 'echo PHP_VERSION_ID;') instead of between 70400-70500"
|
||||
exit 1
|
||||
|
|
|
@ -16,6 +16,10 @@ runtimes:
|
|||
- python@3.10.8
|
||||
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
|
||||
lint:
|
||||
ignore:
|
||||
- linters: [markdownlint]
|
||||
paths:
|
||||
- LICENCE.md
|
||||
disabled:
|
||||
- git-diff-check
|
||||
enabled:
|
||||
|
|
|
@ -5,15 +5,15 @@ Sets up a PHP project with GitHub Actions, including detecting PHP version and r
|
|||

|
||||

|
||||
|
||||
## Inputs:
|
||||
## Inputs
|
||||
|
||||
- `working_directory`: The directory to run the PHP setup in. Default: `.`.
|
||||
- `php_tools`: The PHP tools to install.
|
||||
|
||||
## Outputs:
|
||||
## Outputs
|
||||
|
||||
- `php_version`: The PHP version that was detected.
|
||||
|
||||
## Exported Envs:
|
||||
## Exported Envs
|
||||
|
||||
- `PHP_VERSION`: The PHP version that was detected.
|
||||
|
|
Loading…
Reference in a new issue