Skip to content

ci(validation): add testing workflow #6

ci(validation): add testing workflow

ci(validation): add testing workflow #6

Workflow file for this run

name: Regular Expressions
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: pwsh scripts/testPatterns.ps1