Skip to content

Commit 6c1d8f1

Browse files
authored
Upgrade GitHub Actions (ggml-org#2430)
1 parent 90db0de commit 6c1d8f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
pre-commit:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Fetch base branch
1616
run: git fetch origin ${{ github.base_ref }}
17-
- uses: actions/setup-python@v4
17+
- uses: actions/setup-python@v5
1818
with:
1919
python-version: "3.8"
2020
architecture: x64
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
2525
- name: pip/pre-commit cache
26-
uses: actions/cache@v3
26+
uses: actions/cache@v4
2727
with:
2828
path: |
2929
${{ steps.pip-cache.outputs.dir }}
@@ -67,9 +67,9 @@ jobs:
6767
pytorch-version: 2.5.0
6868
numpy-requirement: "'numpy'"
6969
steps:
70-
- uses: conda-incubator/setup-miniconda@v2
70+
- uses: conda-incubator/setup-miniconda@v3
7171
- run: conda install -n test ffmpeg python=${{ matrix.python-version }}
72-
- uses: actions/checkout@v3
72+
- uses: actions/checkout@v4
7373
- run: echo "$CONDA/envs/test/bin" >> $GITHUB_PATH
7474
- run: pip3 install .["dev"] ${{ matrix.numpy-requirement }} torch==${{ matrix.pytorch-version }}+cpu --index-url https://download.pytorch.org/whl/cpu --extra-index-url https://pypi.org/simple
7575
- run: pytest --durations=0 -vv -k 'not test_transcribe or test_transcribe[tiny] or test_transcribe[tiny.en]' -m 'not requires_cuda'

0 commit comments

Comments
 (0)