Files
database/.github/workflows/regex.yml
2025-08-27 05:34:44 +09:30

32 lines
748 B
YAML

name: Validate Regex Patterns
on:
push:
paths:
- "regex_patterns/**/*.yml"
- "regex_patterns/**/*.yaml"
- ".github/workflows/regex.yml"
- "scripts/validatePattern.ps1"
pull_request:
paths:
- "regex_patterns/**/*.yml"
- "regex_patterns/**/*.yaml"
- ".github/workflows/regex.yml"
- "scripts/validatePattern.ps1"
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
container: mcr.microsoft.com/powershell:lts
steps:
- uses: actions/checkout@v4
- name: validate
run: pwsh scripts/validateAllPatterns.ps1
- name: test
run: |
echo "TODO: Implement unit tests for all patterns"
# TODO: Add test runner command here