1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Revert "actions/editorconfig: disable until we can combine this with ofborg (#88608)"

This reverts commit 1ccf44204b.
This commit is contained in:
Jörg Thalheim 2020-07-30 21:38:39 +01:00
parent 7d04fdaa69
commit 6dce0bb299
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

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 }}