mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
21 lines
481 B
YAML
21 lines
481 B
YAML
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 }}
|