Merge pull request #17 from ducdmdev/feat/dag-aligned-improvements #43
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install jq | |
| run: sudo apt-get install -q -y jq | |
| - name: Ensure scripts are executable | |
| run: | | |
| chmod +x scripts/*.sh | |
| find tests -name '*.sh' -exec chmod +x {} + | |
| - name: Run tests | |
| run: bash tests/run-tests.sh | |
| - name: Check version sync | |
| run: | | |
| V_PLUGIN=$(jq -r .version .claude-plugin/plugin.json) | |
| V_MKT=$(jq -r '.plugins[0].version' .claude-plugin/marketplace.json) | |
| echo "plugin.json=$V_PLUGIN marketplace.json=$V_MKT" | |
| if [ "$V_PLUGIN" != "$V_MKT" ]; then | |
| echo "::error::Version mismatch across files" | |
| exit 1 | |
| fi | |
| echo "All versions in sync: $V_PLUGIN" |