mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-27 03:46:19 +08:00
Merge pull request #3883 from kolyshkin/space-at-eol
ci/gha: add space-at-eol check, fix existing issues
This commit is contained in:
7
.github/workflows/validate.yml
vendored
7
.github/workflows/validate.yml
vendored
@@ -101,6 +101,13 @@ jobs:
|
||||
- name: 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:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
|
Reference in New Issue
Block a user