summary refs log tree commit diff
path: root/.github/workflows/editorconfig.yml
blob: ae21ac43c03ea8dfe3143fb4f3e038ea757ba9be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: editorconfig

on:
  pull_request:
    branches:
      - master

jobs:
  editorconfig:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - uses: technote-space/get-diff-action@v1.2.8
    - name: fetch image
      run: docker pull mstruebing/editorconfig-checker
    - name: editorconfig check
      run: |
        docker run --volume="$PWD":/check mstruebing/editorconfig-checker ec \
          -disable-indentation \
          ${{ env.GIT_DIFF }}