mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
Merge branch 'main' into patch-1
This commit is contained in:
commit
03a1bb85c8
13
.github/dependabot.yml
vendored
Normal file
13
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Keep GitHub Actions up to date with GitHub's Dependabot...
|
||||||
|
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
|
||||||
|
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: /
|
||||||
|
groups:
|
||||||
|
github-actions:
|
||||||
|
patterns:
|
||||||
|
- "*" # Group all Actions updates into a single larger pull request
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
||||||
6
.github/workflows/python-publish.yml
vendored
6
.github/workflows/python-publish.yml
vendored
@ -8,14 +8,14 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions-ecosystem/action-regex-match@v2
|
- uses: actions-ecosystem/action-regex-match@v2
|
||||||
id: regex-match
|
id: regex-match
|
||||||
with:
|
with:
|
||||||
text: ${{ github.event.head_commit.message }}
|
text: ${{ github.event.head_commit.message }}
|
||||||
regex: '^Release ([^ ]+)'
|
regex: '^Release ([^ ]+)'
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@ -24,7 +24,7 @@ jobs:
|
|||||||
pip install setuptools wheel twine
|
pip install setuptools wheel twine
|
||||||
- name: Release
|
- name: Release
|
||||||
if: ${{ steps.regex-match.outputs.match != '' }}
|
if: ${{ steps.regex-match.outputs.match != '' }}
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: v${{ steps.regex-match.outputs.group1 }}
|
tag_name: v${{ steps.regex-match.outputs.group1 }}
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
|
|||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -40,6 +40,7 @@ jobs:
|
|||||||
needs: pre-commit
|
needs: pre-commit
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python-version: '3.8'
|
- python-version: '3.8'
|
||||||
@ -64,7 +65,10 @@ jobs:
|
|||||||
pytorch-version: 2.4.1
|
pytorch-version: 2.4.1
|
||||||
numpy-requirement: "'numpy'"
|
numpy-requirement: "'numpy'"
|
||||||
- python-version: '3.12'
|
- python-version: '3.12'
|
||||||
pytorch-version: 2.5.0
|
pytorch-version: 2.5.1
|
||||||
|
numpy-requirement: "'numpy'"
|
||||||
|
- python-version: '3.13'
|
||||||
|
pytorch-version: 2.5.1
|
||||||
numpy-requirement: "'numpy'"
|
numpy-requirement: "'numpy'"
|
||||||
steps:
|
steps:
|
||||||
- uses: conda-incubator/setup-miniconda@v3
|
- uses: conda-incubator/setup-miniconda@v3
|
||||||
|
|||||||
@ -11,11 +11,11 @@ repos:
|
|||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
args: [--maxkb=4096]
|
args: [--maxkb=4096]
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 24.10.0
|
rev: 25.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 5.13.2
|
rev: 6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
name: isort (python)
|
name: isort (python)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user