Install Evergreen skills at runtime #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 | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: validate-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| workflow: | |
| name: Workflow source and readiness states | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - name: Install gh-aw | |
| run: gh extension install github/gh-aw --pin v0.83.2 | |
| - name: Compile workflow | |
| run: gh aw compile --dir workflows --validate --strict --approve --no-check-update | |
| - name: Verify generated files are current | |
| run: git diff --exit-code -- workflows/evergreen.lock.yml .github/aw/actions-lock.json | |
| - name: Run workflow security validators | |
| run: gh aw validate --dir workflows --strict --no-check-update | |
| - name: Test readiness state machine | |
| run: ruby tests/readiness_state_machine_test.rb | |
| - name: Test runtime skill packages | |
| run: ruby tests/runtime_skills_test.rb |