更改了将音频转换为silk格式的方法,解决无法发送mp3等格式的音频的问题(qqofficial) #188
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: Code Format Check | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| format-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Install UV | |
| run: pip install uv | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Check code formatting with ruff | |
| run: | | |
| uv run ruff format --check . | |
| - name: Check code style with ruff | |
| run: | | |
| uv run ruff check . |