Skip to content

Commit

Permalink
test: add ffmpeg setup to GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hbomb79 committed May 18, 2024
1 parent c5fb69a commit 3decf73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]

- 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

0 comments on commit 3decf73

Please sign in to comment.