Skip to content

Commit

Permalink
ci: install ffmpeg only if linting succeeds
Browse files Browse the repository at this point in the history
  • Loading branch information
7x11x13 committed Jul 9, 2024
1 parent c09d01c commit e54d57c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down

0 comments on commit e54d57c

Please sign in to comment.