git.iko.soy/typeable/nixpkgs
on master help sign in
.github/workflows/editorconfig.yml: separate fetch and check steps
commitc1fce8f814830a5ce1f381158d315323fc01700b authorzowoq <59103226+zowoq@users.noreply.github.com> dateMon 3 Aug 2020, 08:01 (6 years ago) parent588940d
1 file changed+8−3
.github/workflows/editorconfig.yml+8−3
.github/workflows/editorconfig.yml+8−3
@@ -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 }}