ci(validation): speed up validation, only print logs #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup PowerShell | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y powershell | |
| - name: validate | |
| run: pwsh scripts/validateAllPatterns.ps1 | |
| - name: test | |
| run: | | |
| echo "TODO: Implement unit tests for all patterns" | |
| # TODO: Add test runner command here |