Skip to content

Commit 413da36

Browse files
committed
Simplify validate workflow (use regex)
1 parent ecc3374 commit 413da36

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Check for todo0
12-
run: '! grep -r "todo0" --exclude-dir=workflows .'
13-
if: always()
14-
- name: Check for todo1
15-
run: '! grep -r "todo1" --exclude-dir=workflows .'
16-
if: always()
17-
- name: Check for todo2
18-
run: '! grep -r "todo2" --exclude-dir=workflows .'
11+
- name: Check for priority todos
12+
run: '! grep -r "todo[0-9]" --exclude-dir=workflows .'
1913
if: always()
2014
- name: Check for non-todo skip()s in tests
2115
run: '! grep -r "skip(" --exclude-dir=workflows tests/ | grep -v "todo"'

0 commit comments

Comments
 (0)