1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 13:54:03 +00:00

Simplify validate workflow (use regex)

This commit is contained in:
Samuel Štancl 2025-08-12 13:12:43 +02:00
parent ecc3374293
commit 413da36c4a

View file

@ -8,14 +8,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Check for todo0 - name: Check for priority todos
run: '! grep -r "todo0" --exclude-dir=workflows .' run: '! grep -r "todo[0-9]" --exclude-dir=workflows .'
if: always()
- name: Check for todo1
run: '! grep -r "todo1" --exclude-dir=workflows .'
if: always()
- name: Check for todo2
run: '! grep -r "todo2" --exclude-dir=workflows .'
if: always() if: always()
- name: Check for non-todo skip()s in tests - name: Check for non-todo skip()s in tests
run: '! grep -r "skip(" --exclude-dir=workflows tests/ | grep -v "todo"' run: '! grep -r "skip(" --exclude-dir=workflows tests/ | grep -v "todo"'