Skip to content

chore(deps): bump actions/setup-python from 4 to 5 #63

chore(deps): bump actions/setup-python from 4 to 5

chore(deps): bump actions/setup-python from 4 to 5 #63

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
ci:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
PROJECT_ROOT: ${{github.workspace}}
WSCRIBE_MODELS_DIR: ${{github.workspace}}/models
steps:
- uses: actions/checkout@v4
- name: Cache whisper model
id: cache-whisper-model
uses: actions/cache@v3
with:
key: "tiny" # static key, always cache hit, manually invalidate
path: ${{env.WSCRIBE_MODELS_DIR}}
- if: ${{ steps.cache-whisper-model.outputs.cache-hit != 'true' }}
name: download whisper model
run: |
./scripts/fw_dw_hf_wo_lfs.sh tiny
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- run: poetry install
- run: poetry run make spin