feat: aimodel/OpenAI:多模态输入/输出扩展(input_audio/file 输入,modalities/audio 输出) #30
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 | |
| on: | |
| push: | |
| branches: ["*"] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.26" | |
| - name: Install tools | |
| run: | | |
| go install golang.org/x/tools/cmd/goimports@latest | |
| go install mvdan.cc/gofumpt@latest | |
| go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | |
| go install github.com/vogo/license-header-checker/cmd/license-header-checker@latest | |
| - name: Build | |
| run: make build | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: coverage.out |