1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:54:03 +00:00
tenancy/.github/workflows/validate.yml
2025-03-03 15:23:17 +00:00

22 lines
617 B
YAML

name: Validate code
on: [push, pull_request]
jobs:
validate:
name: Validate code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check for todo0
run: '! grep -r "todo0" --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()
- name: Check for non-todo skip()s in tests
run: '! grep -r "skip(" --exclude-dir=workflows tests/ | grep -v "todo"'
if: always()