Skip to content

Commit

Permalink
Revert "actions/editorconfig: disable until we can combine this with …
Browse files Browse the repository at this point in the history
…ofborg (NixOS#88608)"

This reverts commit 1ccf442.
  • Loading branch information
Mic92 committed Jul 30, 2020
1 parent 7d04fda commit 6dce0bb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 6dce0bb

Please sign in to comment.