https://github.com/pietrzakadrian/easy-coding-standard-github-action
Implementation easy-coding-standard for GitHub Actions
https://github.com/pietrzakadrian/easy-coding-standard-github-action
Last synced: 6 months ago
JSON representation
Implementation easy-coding-standard for GitHub Actions
- Host: GitHub
- URL: https://github.com/pietrzakadrian/easy-coding-standard-github-action
- Owner: pietrzakadrian
- Created: 2023-03-08T19:22:50.000Z (over 2 years ago)
- Default Branch: development
- Last Pushed: 2023-05-21T22:51:42.000Z (over 2 years ago)
- Last Synced: 2025-02-09T15:15:04.876Z (8 months ago)
- Language: Dockerfile
- Homepage:
- Size: 29.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Easy Coding Standard GitHub Action
Implementation [easy-coding-standard](https://github.com/easy-coding-standard/easy-coding-standard) for GitHub Actions.
### Example
- Contents of file `.github/workflows/ecs.yml`:
```yml
name: lint
on: [push]
jobs:
ecs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3- name: Easy Coding Standard
uses: pietrzakadrian/easy-coding-standard-github-action@v2.0.5
with:
config: ecs.php #configuration file
directories: src tests #list of directories to check (optional)
```### Reason for making
- [zingimmick/ecs-action](https://github.com/marketplace/actions/easy-coding-standard-action) is deprecated, because it uses [easy-coding-standard-prefixed](https://github.com/deprecated-packages/easy-coding-standard-prefixed).
- [Juhlinus/ecs-action](https://github.com/marketplace/actions/easy-coding-standard-github-action) and [yaraku/ecs-action](https://github.com/marketplace/actions/yaraku-easy-coding-standard-github-action) does not allows to pass the configuration file.