perf: allow quality-check and test jobs to run in parallel #166
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 workflows files | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '.github/workflows/*.yml' | |
| pull_request: | |
| paths: | |
| - '.github/workflows/*.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - name: Install action-validator with asdf | |
| uses: asdf-vm/actions/install@1902764435ca0dd2f3388eea723a4f92a4eb8302 # v4.0.0 | |
| with: | |
| tool_versions: | | |
| action-validator 0.5.3 | |
| - name: Lint Workflows | |
| run: | | |
| find .github/workflows -type f \( -iname \*.yaml -o -iname \*.yml \) \ | |
| | xargs -I {} action-validator --verbose {} |