chore: bump version to v0.12.16 #181
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: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Create placeholders for embed | |
| run: | | |
| mkdir -p internal/server/dist && touch internal/server/dist/.gitkeep | |
| mkdir -p internal/core/ai/transcriber/bin | |
| touch internal/core/ai/transcriber/bin/whisper-darwin-arm64 | |
| touch internal/core/ai/transcriber/bin/whisper-windows-amd64.exe | |
| touch internal/core/ai/transcriber/bin/whisper-linux-amd64 | |
| - name: Run tests | |
| run: CGO_ENABLED=0 go test -v ./... | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Create placeholders for embed | |
| run: | | |
| mkdir -p internal/server/dist && touch internal/server/dist/.gitkeep | |
| mkdir -p internal/core/ai/transcriber/bin | |
| touch internal/core/ai/transcriber/bin/whisper-darwin-arm64 | |
| touch internal/core/ai/transcriber/bin/whisper-windows-amd64.exe | |
| touch internal/core/ai/transcriber/bin/whisper-linux-amd64 | |
| - name: Run staticcheck | |
| uses: dominikh/staticcheck-action@v1 | |
| with: | |
| version: "latest" | |
| env: | |
| CGO_ENABLED: "0" |