about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-05-20 16:22:19 +0100
committerGitHub <noreply@github.com>2020-05-20 16:22:19 +0100
commitba0a9d43211338b9d12aeaced72b00e37423502e (patch)
tree576a2b964e3c6dfe8697c3822e3e7b5a19f97cf8
parenta3a6c952ed1731842838551016bf7c8bfd4c627e (diff)
parent2f0c2d4c4533c17302df0e77e65538500ad5384a (diff)
downloadnixlib-ba0a9d43211338b9d12aeaced72b00e37423502e.tar
nixlib-ba0a9d43211338b9d12aeaced72b00e37423502e.tar.gz
nixlib-ba0a9d43211338b9d12aeaced72b00e37423502e.tar.bz2
nixlib-ba0a9d43211338b9d12aeaced72b00e37423502e.tar.lz
nixlib-ba0a9d43211338b9d12aeaced72b00e37423502e.tar.xz
nixlib-ba0a9d43211338b9d12aeaced72b00e37423502e.tar.zst
nixlib-ba0a9d43211338b9d12aeaced72b00e37423502e.zip
Merge pull request #88438 from zowoq/editorconfig-binary
-rw-r--r--.github/workflows/editorconfig.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml
index ae21ac43c03e..59bf0fe806ec 100644
--- a/.github/workflows/editorconfig.yml
+++ b/.github/workflows/editorconfig.yml
@@ -1,4 +1,4 @@
-name: editorconfig
+name: actions
 
 on:
   pull_request:
@@ -9,12 +9,14 @@ jobs:
   editorconfig:
     runs-on: ubuntu-latest
     steps:
-    - uses: actions/checkout@master
+    - uses: actions/checkout@v2
     - uses: technote-space/get-diff-action@v1.2.8
-    - name: fetch image
-      run: docker pull mstruebing/editorconfig-checker
     - name: editorconfig check
+      env:
+        VERSION: "2.0.4"
+        OS: "linux"
+        ARCH: "amd64"
       run: |
-        docker run --volume="$PWD":/check mstruebing/editorconfig-checker ec \
-          -disable-indentation \
-          ${{ env.GIT_DIFF }}
+        curl -O -L -C - https://github.com/editorconfig-checker/editorconfig-checker/releases/download/$VERSION/ec-$OS-$ARCH.tar.gz && \
+        tar xzf ec-$OS-$ARCH.tar.gz && \
+        ./bin/ec-$OS-$ARCH -disable-indentation ${{ env.GIT_DIFF }}