summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-03-18 16:39:32 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-03-18 16:39:32 +0000
commita5d47d59cad4b5c3d1858884536e05a8e684f04d (patch)
tree7396e11750730865a58f0688fa07eb7fdb5fd441 /.github
parenta09af55347372864d4d168fa1fa424f832426150 (diff)
github: check for whitespace errors on push and pull requests
* .github/workflows/whitespace-errors-check.yml: New file.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/whitespace-errors-check.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/whitespace-errors-check.yml b/.github/workflows/whitespace-errors-check.yml
new file mode 100644
index 00000000..5630146b
--- /dev/null
+++ b/.github/workflows/whitespace-errors-check.yml
@@ -0,0 +1,11 @@
+name: Whitespace Errors Check
+
+on: [push, pull_request]
+
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: whitespace errors check
+ run: git diff-index --check --cached 4b825dc642cb6eb9a060e54bf8d69288fbee4904