editorconfig.yml: switch to binary

This commit is contained in:
zowoq 2020-05-21 00:59:45 +10:00
parent a33cf2276f
commit 2f0c2d4c45

View File

@ -1,4 +1,4 @@
name: editorconfig name: actions
on: on:
pull_request: pull_request:
@ -9,12 +9,14 @@ jobs:
editorconfig: editorconfig:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1.2.8 - uses: technote-space/get-diff-action@v1.2.8
- name: fetch image
run: docker pull mstruebing/editorconfig-checker
- name: editorconfig check - name: editorconfig check
env:
VERSION: "2.0.4"
OS: "linux"
ARCH: "amd64"
run: | run: |
docker run --volume="$PWD":/check mstruebing/editorconfig-checker ec \ curl -O -L -C - https://github.com/editorconfig-checker/editorconfig-checker/releases/download/$VERSION/ec-$OS-$ARCH.tar.gz && \
-disable-indentation \ tar xzf ec-$OS-$ARCH.tar.gz && \
${{ env.GIT_DIFF }} ./bin/ec-$OS-$ARCH -disable-indentation ${{ env.GIT_DIFF }}