Skip to content

Additional fixes on windows #1

Additional fixes on windows

Additional fixes on windows #1

Workflow file for this run

name: Whitespace
on:
push:
paths-ignore:
- 'tsc/meetings/**'
pull_request:
paths-ignore:
- 'tsc/meetings/**'
jobs:
# Search the git repository for any trailing spaces excluding meeting notes
trailingspaces:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: test
run: |
set +e
git grep -n -I -E '^.+[ ]+$' -- ':!tsc/meetings/*'
test $? -eq 1
# Search for any tabs excluding meeting notes, image files and a few others
spacesnottabs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: test
run: |
set +e
git grep -n " " -- ':!*/whitespace.yml' ':!tsc/meetings/*' ':!*.svg' ':!*.cmd' ':!*.png'
test $? -eq 1