Merge pull request #8 from cloudarray-v1/fix/shellcheck-sc2002 #19
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: | |
| docker-build: | |
| name: Docker Build Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| - uses: docker/build-push-action@v5 | |
| with: | |
| context: . | |
| platforms: linux/amd64 | |
| push: false | |
| tags: cloudquery-mcp-agentcore:ci | |
| cache-from: type=gha | |
| cache-to: type=gha,mode=max | |
| lint-shell: | |
| name: Shell Script Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: sudo apt-get install -y shellcheck | |
| - run: shellcheck deploy.sh | |
| validate-yaml: | |
| name: Validate YAML Config | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: pip install yamllint | |
| - run: yamllint .bedrock_agentcore.yaml |