ci/gha: add space-at-eol check, fix existing issues

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2023-05-30 17:24:21 -07:00
parent df57f74f87
commit 5929b01989
6 changed files with 43 additions and 36 deletions
+7
View File
@@ -101,6 +101,13 @@ jobs:
- name: check-config.sh - name: check-config.sh
run : ./script/check-config.sh run : ./script/check-config.sh
space-at-eol:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rm -fr vendor
- run: if git -P grep -I -n '\s$'; then echo "^^^ extra whitespace at EOL, please fix"; exit 1; fi
deps: deps:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps: