about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-05-20 11:33:31 +0100
committerGitHub <noreply@github.com>2020-05-20 11:33:31 +0100
commitacfcd44a84fda28fabedaf592141d2389a8fcf61 (patch)
treeef66ab1ea0730bb9b7452b2554fc6b97356ea180
parent8c9fe503e48d9734d6eaf72296f924d6df8379de (diff)
parenta42190fc0785467c77344b0148950b7eca3b3864 (diff)
downloadnixlib-acfcd44a84fda28fabedaf592141d2389a8fcf61.tar
nixlib-acfcd44a84fda28fabedaf592141d2389a8fcf61.tar.gz
nixlib-acfcd44a84fda28fabedaf592141d2389a8fcf61.tar.bz2
nixlib-acfcd44a84fda28fabedaf592141d2389a8fcf61.tar.lz
nixlib-acfcd44a84fda28fabedaf592141d2389a8fcf61.tar.xz
nixlib-acfcd44a84fda28fabedaf592141d2389a8fcf61.tar.zst
nixlib-acfcd44a84fda28fabedaf592141d2389a8fcf61.zip
Merge pull request #87853 from zowoq/actions
-rw-r--r--.github/workflows/editorconfig.yml20
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 }}