From e54d57c3654801b5ea06794213ff2530bfd15274 Mon Sep 17 00:00:00 2001 From: 7x11x13 Date: Tue, 9 Jul 2024 14:27:40 -0400 Subject: [PATCH] ci: install ffmpeg only if linting succeeds --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08b29e0..5a4be9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}