Skip to content

feat(whisper-api): disable VAD flag #43

feat(whisper-api): disable VAD flag

feat(whisper-api): disable VAD flag #43

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
merge_group:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
# diwic/alsa-sys: Rust raw FFI bindings for ALSA
# https://github.com/diwic/alsa-sys
# Failed to run custom build command · Issue #183 · Spotifyd/spotifyd
# https://github.com/Spotifyd/spotifyd/issues/183#issuecomment-476384541
- run: |
sudo apt install -y \
libasound2-dev \
portaudio19-dev \
build-essential \
libpulse-dev \
libdbus-1-dev
- run: |
sudo apt install -y \
protobuf-compiler
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
# diwic/alsa-sys: Rust raw FFI bindings for ALSA
# https://github.com/diwic/alsa-sys
# Failed to run custom build command · Issue #183 · Spotifyd/spotifyd
# https://github.com/Spotifyd/spotifyd/issues/183#issuecomment-476384541
- run: |
sudo apt install -y \
libasound2-dev \
portaudio19-dev \
build-essential \
libpulse-dev \
libdbus-1-dev
- run: |
sudo apt install -y \
protobuf-compiler
- name: Lint
run: cargo clippy -- -W clippy::pedantic -W clippy::nursery -A clippy::missing-errors-doc -A clippy::module_name_repetitions
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
# diwic/alsa-sys: Rust raw FFI bindings for ALSA
# https://github.com/diwic/alsa-sys
# Failed to run custom build command · Issue #183 · Spotifyd/spotifyd
# https://github.com/Spotifyd/spotifyd/issues/183#issuecomment-476384541
- run: |
sudo apt install -y \
libasound2-dev \
portaudio19-dev \
build-essential \
libpulse-dev \
libdbus-1-dev
- run: |
sudo apt install -y \
protobuf-compiler
- name: Check
run: cargo check --all