github/workflows: add editorconfig linting

This commit is contained in:
der richter authored and Kacper Michajłow committed 2024-10-24 17:40:26 +02:00
1 parent ef6eda32a2
commit e661165ead
3 files changed
+22

No files matched your search

+8
View File
@@ -13,3 +13,11 @@ trim_trailing_whitespace = true
[.git/COMMIT*]
max_line_length = 72
[{osdep/dirent-win.h,TOOLS/osxbundle/mpv.app/Contents/PkgInfo}]
charset = unset
insert_final_newline = unset
indent_style = unset
indent_size = unset
max_line_length = unset
trim_trailing_whitespace = unset
+7
View File
@@ -0,0 +1,7 @@
{
"Format": "github-actions",
"Disable": {
"IndentSize": true,
"MaxLineLength": true
}
}
+7
View File
@@ -39,3 +39,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
editorconfig-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker -config .editorconfig-checker.json