feat(ytdl-mpv)!: add initial support to track chapters #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint CI | |
"on": | |
push: | |
branches: | |
- master | |
paths: | |
- 'Makefile' | |
- 'bin/**' | |
pull_request: | |
branches: | |
- master | |
paths: | |
- 'Makefile' | |
- 'bin/**' | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
name: Shell check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout project | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
- name: Install deps | |
run: | | |
sudo apt update | |
sudo apt install socat mpv rofi | |
python -m pip install yt-dlp | |
- name: Setup some envs | |
run: | | |
echo "HOME=$HOME" >> "$GITHUB_ENV" | |
echo "PATH=$PATH:$HOME/.local/bin" >> "$GITHUB_ENV" | |
- name: Shellcheck scripts | |
run: | | |
shellcheck -s bash bin/mpvctl | |
shellcheck -s bash bin/ytdl-mpv | |
- name: Make install | |
run: make install | |
- name: Run mpvctl help | |
run: mpvctl --help | |
- name: Run ytdl-mpv help | |
run: ytdl-mpv --help |