Skip to content

Commit 0bbb4a3

Browse files
committed
ci: add a space-at-eol job
Taken from runc. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 2b5ec59 commit 0bbb4a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/validate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,9 @@ jobs:
5959
run: pip install --break-system-packages codespell==v2.4.1
6060
- name: run codespell
6161
run: codespell
62+
63+
space-at-eol:
64+
runs-on: ubuntu-24.04
65+
steps:
66+
- uses: actions/checkout@v4
67+
- run: if git -P grep -I -n '\s$'; then echo "^^^ extra whitespace at EOL, please fix"; exit 1; fi

0 commit comments

Comments
 (0)