Skip to content

πŸŽ‰ Add --verbose (major logging changes) #4

πŸŽ‰ Add --verbose (major logging changes)

πŸŽ‰ Add --verbose (major logging changes) #4

Workflow file for this run

name: πŸ¦€ Running Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
Linter:
runs-on: ubuntu-latest
name: 🧹 Linter
steps:
- name: πŸš€ actions/checkout@v4
uses: actions/checkout@v4
- name: πŸ•΅οΈ Run linter
run: cargo clippy
MacOS:
name: 🍎 MacOS
runs-on: macos-latest
steps:
- name: πŸš€ actions/checkout@v4
uses: actions/checkout@v4
- name: ⬇ Install yt-dlp
run: |
wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O yt-dlp
chmod a+rx yt-dlp
echo "$(pwd)" >> $GITHUB_PATH
- name: ⬇️ Install ffmpeg
run: brew install ffmpeg
- name: ⬇️ Install task
run: brew install go-task/tap/go-task
- name: πŸ•΅οΈ Run tests
run: task test
Ubuntu:
runs-on: ubuntu-latest
name: 🐧 Ubuntu
steps:
- name: πŸš€ actions/checkout@v4
uses: actions/checkout@v4
- name: ⬇️ Update package lists
run: sudo apt-get update
- name: ⬇️ Install yt-dlp
run: |
wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O yt-dlp
chmod a+rx yt-dlp
echo "$(pwd)" >> $GITHUB_PATH
- name: ⬇️ Install ffmpeg
run: sudo apt install -y ffmpeg
- name: ⬇️ Install task
run: |
curl -sL "https://github.com/go-task/task/releases/download/v3.9.0/task_linux_amd64.tar.gz" | tar xz
sudo mv task /usr/local/bin
- name: πŸ•΅οΈ Run tests
run: task test
Windows:
runs-on: windows-latest
name: πŸ³οΈβ€πŸŒˆ Windows
steps:
- name: πŸš€ actions/checkout@v4
uses: actions/checkout@v4
- name: ⬇️ Install chocolatey
uses: crazy-max/ghaction-chocolatey@v1
with:
args: -h
- name: ⬇️ Install yt-dlp
run: choco install yt-dlp
- name: ⬇️ Install ffmpeg
run: choco install ffmpeg
- name: ⬇️ Install task
run: choco install go-task
- name: πŸ•΅οΈ Run tests
run: task test