File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -278,3 +278,20 @@ jobs:
278278 - run : brew install gum
279279 - run : ./install.sh --yes
280280 - run : .github/smoke-test.sh
281+
282+ check-indentation :
283+ runs-on : ubuntu-latest
284+ steps :
285+ - uses : actions/checkout@v3
286+ - uses : actions/setup-python@v4
287+ with :
288+ python-version : ' 3.x'
289+ - uses : jannekem/run-python-script-action@v1
290+ with :
291+ script : |
292+ import sys
293+ with open('install.sh') as f:
294+ for line_number, line in enumerate(f, start=1):
295+ if line.startswith(' '):
296+ print(f'Error: Space indentation found on line {line_number}')
297+ sys.exit(1)
Original file line number Diff line number Diff line change 33* [ ` install.sh ` ] ( ./install.sh ) is delivered when you ` curl tea.xyz ` .
44* This repository also provides the ` tea ` GitHub Action.
55
6- # GitHub Action 0.16.2
6+ # GitHub Action 0.17.0
77
88``` yaml
99- uses : teaxyz/setup@v0
You can’t perform that action at this time.
0 commit comments