Skip to content

Commit

Permalink
Merge branch 'lf' into lf-check
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotnh committed Sep 17, 2023
2 parents a74152e + 4927751 commit 3b0d740
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/editorconfig-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig の設定に従っているかをチェックする
#
name: EditorConfig Checker

on:
push:
pull_request:

jobs:
editorconfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: editorconfig-checker/action-editorconfig-checker@main

# .gitmodules は自動生成されてインデントスタイルが EditorConfig に従わないため除外
# インデントサイズは ClangFormat を使用すると1行が長くなり複数行に分割されたときに改行位置が EditorConfig に従わないため除外
- run: editorconfig-checker -disable-indent-size -exclude '.gitmodules'

0 comments on commit 3b0d740

Please sign in to comment.