Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a3a6c952ed17
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ba0a9d432113
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on May 20, 2020

  1. Copy the full SHA
    2f0c2d4 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ba0a9d4 View commit details
Showing with 9 additions and 7 deletions.
  1. +9 −7 .github/workflows/editorconfig.yml
16 changes: 9 additions & 7 deletions .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: editorconfig
name: actions

on:
pull_request:
@@ -9,12 +9,14 @@ jobs:
editorconfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v1.2.8
- name: fetch image
run: docker pull mstruebing/editorconfig-checker
- name: editorconfig check
env:
VERSION: "2.0.4"
OS: "linux"
ARCH: "amd64"
run: |
docker run --volume="$PWD":/check mstruebing/editorconfig-checker ec \
-disable-indentation \
${{ env.GIT_DIFF }}
curl -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 }}