diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-05-15 11:04:08 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-05-20 20:24:33 +1000 |
commit | a42190fc0785467c77344b0148950b7eca3b3864 (patch) | |
tree | 2b5568515b18b6082607f9334316d2bbead89a12 /.github/workflows/editorconfig.yml | |
parent | fbdbe12f50ff7c40f86e956ab813c557aac25f6f (diff) |
GitHub Actions: check editorconfig in PRs
Diffstat (limited to '.github/workflows/editorconfig.yml')
-rw-r--r-- | .github/workflows/editorconfig.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml new file mode 100644 index 000000000000..ae21ac43c03e --- /dev/null +++ b/.github/workflows/editorconfig.yml @@ -0,0 +1,20 @@ +name: editorconfig + +on: + pull_request: + branches: + - master + +jobs: + editorconfig: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: technote-space/get-diff-action@v1.2.8 + - name: fetch image + run: docker pull mstruebing/editorconfig-checker + - name: editorconfig check + run: | + docker run --volume="$PWD":/check mstruebing/editorconfig-checker ec \ + -disable-indentation \ + ${{ env.GIT_DIFF }} |