diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-05-15 11:04:08 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-05-20 20:24:33 +1000 |
commit | a42190fc0785467c77344b0148950b7eca3b3864 (patch) | |
tree | 2b5568515b18b6082607f9334316d2bbead89a12 /.github | |
parent | fbdbe12f50ff7c40f86e956ab813c557aac25f6f (diff) | |
download | nixpkgs-a42190fc0785467c77344b0148950b7eca3b3864.tar nixpkgs-a42190fc0785467c77344b0148950b7eca3b3864.tar.gz nixpkgs-a42190fc0785467c77344b0148950b7eca3b3864.tar.bz2 nixpkgs-a42190fc0785467c77344b0148950b7eca3b3864.tar.lz nixpkgs-a42190fc0785467c77344b0148950b7eca3b3864.tar.xz nixpkgs-a42190fc0785467c77344b0148950b7eca3b3864.tar.zst nixpkgs-a42190fc0785467c77344b0148950b7eca3b3864.zip |
GitHub Actions: check editorconfig in PRs
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/editorconfig.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml new file mode 100644 index 00000000000..ae21ac43c03 --- /dev/null +++ b/.github/workflows/editorconfig.yml @@ -0,0 +1,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 }} |