Add EditorConfig rules, fix trailing whitespaces

This commit is contained in:
Zhaofeng Li 2022-01-08 01:20:36 -08:00
parent deca292b53
commit abb74b9f49
8 changed files with 49 additions and 7 deletions

20
.github/workflows/editorconfig.yml vendored Normal file
View file

@ -0,0 +1,20 @@
name: Check EditorConfig
on:
pull_request:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v15
- name: Enable binary cache (optional)
uses: cachix/cachix-action@v10
with:
name: colmena
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-shell --run "editorconfig-checker"