[build] pin whisper-rs dependency to a specific commit for reproducible builds; update documentation accordingly

This commit is contained in:
2025-08-12 04:16:09 +02:00
parent df6faf6436
commit 152fde36ae
4 changed files with 15 additions and 3 deletions

View File

@@ -14,6 +14,10 @@ Example GitHub Actions job (outline)
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Print resolved whisper-rs rev
run: |
echo "Resolved whisper-rs revision:" && \
awk '/name = "whisper-rs"/{f=1} f&&/source = "git\+.*whisper-rs#/{match($0,/#([0-9a-f]{7,40})"/,m); if(m[1]){print m[1]; exit}}' Cargo.lock
- name: Build
run: cargo build --all-targets --locked
- name: Test