@@ -13,12 +13,17 @@ jobs:
1313 with:
1414 fetch-depth: 0
1515 - uses: technote-space/get-diff-action@v2.0.3
16− - name: Checking EditorConfig
16+ - name: fetch editorconfig-checker
1717 env:
1818 VERSION: "2.1.0"
1919 OS: "linux"
2020 ARCH: "amd64"
21+ ECC_URL: "https://github.com/editorconfig-checker/editorconfig-checker/releases/download"
2122 run: |
22− curl -sSf -O -L -C - https://github.com/editorconfig-checker/editorconfig-checker/releases/download/$VERSION/ec-$OS-$ARCH.tar.gz && \
23+ curl -sSf -O -L -C - $ECC_URL/$VERSION/ec-$OS-$ARCH.tar.gz && \
2324 tar xzf ec-$OS-$ARCH.tar.gz && \
24− ./bin/ec-$OS-$ARCH -disable-indentation ${{ env.GIT_DIFF }}
25+ mv ./bin/ec-$OS-$ARCH ./bin/editorconfig-checker
26+ - name: Checking EditorConfig
27+ run: |
28+ ./bin/editorconfig-checker -disable-indentation \
29+ ${{ env.GIT_DIFF }}