Merge pull request #94260 from Mic92/ci

This commit is contained in:
Jörg Thalheim 2020-07-30 22:38:41 +01:00 committed by GitHub
commit 6f5921521c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
.github/workflows/editorconfig.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: actions
on:
pull_request:
branches:
- master
jobs:
editorconfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1.2.8
- name: editorconfig check
env:
VERSION: "2.0.4"
OS: "linux"
ARCH: "amd64"
run: |
curl -sSf -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 }}