aa0fa84e50
Bumps [technote-space/get-diff-action](https://github.com/technote-space/get-diff-action) from v1.2.8 to v2.0.2. - [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/v1.2.8...8641dcd991ed365c2647f8ee3f31c39bc03f5312) Signed-off-by: dependabot[bot] <support@github.com>
22 lines
580 B
YAML
22 lines
580 B
YAML
name: actions
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
editorconfig:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: technote-space/get-diff-action@v2.0.2
|
|
- name: editorconfig check
|
|
env:
|
|
VERSION: "2.0.4"
|
|
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 }}
|