forked from mirrors/nixpkgs
72bacbee2d
Bumps [technote-space/get-diff-action](https://github.com/technote-space/get-diff-action) from v2.0.2 to v2.0.3. - [Release notes](https://github.com/technote-space/get-diff-action/releases) - [Changelog](https://github.com/technote-space/get-diff-action/blob/master/.releasegarc) - [Commits](https://github.com/technote-space/get-diff-action/compare/v2.0.2...b1acdd3017ce344029e1ae6d2b7769c3758799fe) Signed-off-by: dependabot[bot] <support@github.com>
23 lines
592 B
YAML
23 lines
592 B
YAML
name: "Checking EditorConfig"
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: technote-space/get-diff-action@v2.0.3
|
|
- name: Checking EditorConfig
|
|
env:
|
|
VERSION: "2.1.0"
|
|
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 }}
|