ci: install ffmpeg only if linting succeeds

This commit is contained in:
7x11x13 2024-07-09 14:27:40 -04:00
parent c09d01cd55
commit e54d57c365

View File

@ -14,10 +14,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ffmpeg
run: |
sudo apt update
sudo apt install -yq --no-install-recommends ffmpeg
- name: Set up Python
uses: actions/setup-python@v4
with:
@ -34,6 +30,10 @@ jobs:
- name: Type check
if: '!cancelled()'
run: mypy
- name: Install ffmpeg
run: |
sudo apt update
sudo apt install -yq --no-install-recommends ffmpeg
- name: Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}