Skip to content

prompt: Execute return result count #38

prompt: Execute return result count

prompt: Execute return result count #38

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macos-latest ]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Test Code
run: |
go build -v ./...
go test -v -race ./...
ai:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Test Code
env:
CHATGPT_API_KEY: ${{ secrets.CHATGPT_API_KEY }}
CHATGPT_BASE_URL: ${{ secrets.CHATGPT_BASE_URL }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GEMINI_ENDPOINT: ${{ secrets.GEMINI_ENDPOINT }}
run: go test -v