https://github.com/dimensiondev/setup-editorconfig-action
EditorConfig Checker Action
https://github.com/dimensiondev/setup-editorconfig-action
Last synced: 11 months ago
JSON representation
EditorConfig Checker Action
- Host: GitHub
- URL: https://github.com/dimensiondev/setup-editorconfig-action
- Owner: DimensionDev
- License: mit
- Created: 2022-02-05T09:51:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-06T07:21:00.000Z (over 4 years ago)
- Last Synced: 2025-04-09T20:48:47.779Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup EditorConfig Action
Unofficial [EditorConfig Checker](https://github.com/editorconfig-checker/editorconfig-checker) GitHub Action
## Usage
### Pre-requisites
Create a workflow `.yml` file in your repositories `.github/workflows` directory.
An [example workflow](#example-workflow) is available below.
For more information, reference the GitHub Help Documentation for [Creating a workflow file][creating-a-workflow-file].
[creating-a-workflow-file]: https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file
### Inputs
| Field | Description |
| --------- | --------------------------- |
| `version` | Version (default: `latest`) |
### Example workflow
```yaml
name: EditorConfig Checker
on:
pull_request:
branches:
- main
jobs:
editorconfig:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: DimensionDev/setup-editorconfig-action@latest
- run: editorconfig-checker
```
## License
[MIT LICENSE](LICENSE)