From 3decf73f4dc6935308d86aec48807503efcebc63 Mon Sep 17 00:00:00 2001 From: Harry Felton Date: Sat, 18 May 2024 17:12:10 +1200 Subject: [PATCH] test: add ffmpeg setup to GH workflow --- .github/workflows/go.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d6455b9..b33a591 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -36,7 +36,13 @@ jobs: # https://github.com/golangci/golangci-lint-action/issues/807 skip-cache: true + - name: Setup FFmpeg + id: setup_ffmpeg + uses: federicocarboni/setup-ffmpeg@v3.1 + - name: Test run: go test -v ./... env: OMDB_API_KEY: ${{ secrets.TMDB_API_KEY }} + FORMAT_FFMPEG_BINARY_PATH: ${{ steps.setup_ffmpeg.outputs.ffmpeg-path }}/ffmpeg + FORMAT_FFPROBE_BINARY_PATH: ${{ steps.setup_ffmpeg.outputs.ffmpeg-path }}/ffprobe