diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 84114b5..741acef 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -9,9 +9,14 @@ jobs: runs-on: ${{ matrix.os }} steps: - - name: Install Linux packages - if: matrix.os == 'ubuntu-latest' - run: sudo apt install -y --no-install-recommends ffmpeg + - uses: FedericoCarboni/setup-ffmpeg@v3.1 + id: setup-ffmpeg + with: + # A specific version to download, may also be "release" or a specific version + # like "6.1.0". At the moment semver specifiers (i.e. >=6.1.0) are supported + # only on Windows, on other platforms they are allowed but version is matched + # exactly regardless. + ffmpeg-version: release - name: Install Go uses: actions/setup-go@v4