Skip to content

creating speak streaming client and api #44

creating speak streaming client and api

creating speak streaming client and api #44

Triggered via pull request June 20, 2024 20:16
Status Success
Total duration 1m 16s
Artifacts

check-lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Lint: pkg/audio/microphone/microphone.go#L14
could not import github.com/gordonklaus/portaudio (-: go build github.com/gordonklaus/portaudio:
Lint: pkg/client/live/constants.go#L16
`flashInitialDelay` is unused (deadcode)
Lint: pkg/client/speak/client_stream.go#L385
ifElseChain: rewrite if-else to switch statement (gocritic)
Lint: pkg/client/live/client.go#L821
emptyStringTest: replace `len(sentence) == 0` with `sentence == ""` (gocritic)
Lint: pkg/client/speak/client_stream.go#L279
cyclomatic complexity 22 of func `(*StreamClient).listen` is high (> 20) (gocyclo)
Lint: pkg/client/live/client.go#L285
cyclomatic complexity 21 of func `(*Client).listen` is high (> 20) (gocyclo)
Lint: pkg/client/interfaces/options.go#L78
ST1016: methods on the same type should have the same receiver name (seen 1x "c", 1x "o") (stylecheck)
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.