Adding LLM bootstrap, restricting ask command #263
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 Test Automation | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - staging | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| env: | |
| GCLOUD_PROJECT_ID: ${{ secrets.GCLOUD_PROJECT_ID }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: 1.23.x | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v4 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. | |
| with: | |
| persist-credentials: false | |
| - name: gcloud Auth | |
| uses: google-github-actions/auth@v2 | |
| with: | |
| credentials_json: ${{ secrets.GCLOUD_SA_KEY }} | |
| project_id: ${{secrets.GCLOUD_PROJECT_ID}} | |
| - name: Install, Build, Test 🔧 # This runs a series of commands as if building a live version of the project | |
| run: | | |
| go mod tidy | |
| go test github.com/julwrites/ScriptureBot/pkg/utils \ | |
| github.com/julwrites/ScriptureBot/pkg/app \ | |
| github.com/julwrites/ScriptureBot/pkg/bot |