Skip to content

Feature/cached deps dockerfile #129

Feature/cached deps dockerfile

Feature/cached deps dockerfile #129

Workflow file for this run

name: run rust tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Install ffmpeg and redis
run: sudo apt-get install redis-server ffmpeg
- name: Install yt-dlp
run: python3 -m pip install -U yt-dlp
- name: Start Redis server
run: redis-server --daemonize yes
- name: Run tests
run: cargo test --verbose