ci(validation): improve output for readability, use lighter image #4
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 | |
| container: mcr.microsoft.com/powershell:lts-alpine-3.18 | |
| 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 |