mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-21 05:33:06 +00:00
3853d83d73
Update Go version to ^1.23, the actions/setup-go to v5, actions/checkout to v4 and github.com/stretchr/testify to v1.9.0. Add test cases for the following model struct methods: - New - Close - NewContext - IsMultilingual - Languages Add test cases for the following context struct methods: - SetLanguage - IsMultilingual - Language - Process
23 lines
392 B
YAML
23 lines
392 B
YAML
name: Bindings Tests (Go)
|
|
on:
|
|
push:
|
|
paths:
|
|
- bindings/go/**
|
|
- whisper.h
|
|
pull_request:
|
|
paths:
|
|
- bindings/go/**
|
|
- whisper.h
|
|
|
|
jobs:
|
|
ubuntu-latest:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '^1.23'
|
|
- uses: actions/checkout@v4
|
|
- run: |
|
|
cd bindings/go
|
|
make test
|