Require snctl v1.7.0 for Kafka clusters #16
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] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install skills-ref (best effort) | |
| # skills-ref is not yet published to the public npm registry. When the | |
| # install fails, emit a visible warning and let validate-skills.sh fall | |
| # back to its built-in structural checks. Any *other* step failure | |
| # still fails the job. | |
| run: | | |
| if ! npm i -g @agentskills/skills-ref; then | |
| echo "::warning title=skills-ref unavailable::npm package @agentskills/skills-ref could not be installed; validate-skills.sh will run structural checks only." | |
| fi | |
| - name: Install snctl | |
| env: | |
| # Leave SNCTL_VERSION unset so install-snctl.sh resolves latest stable. | |
| # Pin here if you want reproducible CI against a known snctl. | |
| INSTALL_DIR: ${{ github.workspace }}/bin | |
| run: | | |
| ./scripts/install-snctl.sh | |
| echo "${INSTALL_DIR}" >> "${GITHUB_PATH}" | |
| - name: Validate skills | |
| run: ./scripts/validate-skills.sh | |
| - name: Check help drift | |
| run: ./scripts/check-help-drift.sh | |
| - name: Check manifest fixtures | |
| run: ./scripts/check-manifests.sh |