Add Gemini 3.5 Transcribe as a BYOK speech-to-text provider #19069
Workflow file for this run
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: fmt | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - .github/workflows/fmt.yaml | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| fmt: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| run_install: false | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - run: pnpm install --frozen-lockfile --ignore-scripts | |
| - uses: ./.github/actions/rust_install | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/dprint/cache/plugins | |
| key: dprint-${{ hashFiles('dprint.json') }} | |
| - name: Check formatting | |
| env: | |
| BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }} | |
| HEAD_SHA: ${{ github.sha }} | |
| run: | | |
| set -euo pipefail | |
| if [ -n "$BASE_SHA" ] && git cat-file -e "$BASE_SHA^{commit}" 2>/dev/null; then | |
| git diff --name-only --diff-filter=ACMR -z "$BASE_SHA" "$HEAD_SHA" | xargs -0 --no-run-if-empty pnpm exec dprint check --allow-no-files | |
| else | |
| pnpm fmt:check | |
| fi |