This repository was archived by the owner on Nov 23, 2025. It is now read-only.
chore: trigger GitOps pipeline #3
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: Build and Test | |
| on: | |
| pull_request: | |
| branches: | |
| - 'main' | |
| - 'dev' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-test: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '1.21' | |
| cache: true | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Test Summary | |
| run: | | |
| echo "### ✅ Build Successful" >> $GITHUB_STEP_SUMMARY | |
| echo "Go build completed successfully" >> $GITHUB_STEP_SUMMARY | |
| echo "Ready for review and merge" >> $GITHUB_STEP_SUMMARY |