mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
[20.09] .github/workflows/editorconfig.yml: remove
This commit is contained in:
parent
d351e49b64
commit
4ea52040b6
1 changed files with 0 additions and 27 deletions
27
.github/workflows/editorconfig.yml
vendored
27
.github/workflows/editorconfig.yml
vendored
|
@ -1,27 +0,0 @@
|
||||||
name: "Checking EditorConfig"
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
tests:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- uses: technote-space/get-diff-action@v3.1.0
|
|
||||||
- name: Fetch editorconfig-checker
|
|
||||||
if: env.GIT_DIFF
|
|
||||||
env:
|
|
||||||
ECC_VERSION: "2.1.0"
|
|
||||||
ECC_URL: "https://github.com/editorconfig-checker/editorconfig-checker/releases/download"
|
|
||||||
run: |
|
|
||||||
curl -sSf -O -L -C - "$ECC_URL/$ECC_VERSION/ec-linux-amd64.tar.gz" && \
|
|
||||||
tar xzf ec-linux-amd64.tar.gz && \
|
|
||||||
mv ./bin/ec-linux-amd64 ./bin/editorconfig-checker
|
|
||||||
- name: Checking EditorConfig
|
|
||||||
if: env.GIT_DIFF
|
|
||||||
run: |
|
|
||||||
./bin/editorconfig-checker -disable-indentation \
|
|
||||||
${{ env.GIT_DIFF }}
|
|
Loading…
Add table
Add a link
Reference in a new issue