Skip to content

Commit 7e33f71

Browse files
committed
test: add ffmpeg setup to GH workflow
1 parent e75ada9 commit 7e33f71

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ jobs:
3636
# https://github.com/golangci/golangci-lint-action/issues/807
3737
skip-cache: true
3838

39+
- name: Setup FFmpeg
40+
id: setup_ffmpeg
41+
uses: federicocarboni/[email protected]
42+
3943
- name: Test
4044
run: go test -v ./...
4145
env:
4246
OMDB_API_KEY: ${{ secrets.TMDB_API_KEY }}
47+
FORMAT_FFMPEG_BINARY_PATH: ${{ steps.setup_ffmpeg.outputs.ffmpeg-path }}/ffmpeg
48+
FORMAT_FFPROBE_BINARY_PATH: ${{ steps.setup_ffmpeg.outputs.ffmpeg-path }}/ffprobe

0 commit comments

Comments
 (0)