chore(ytdl-mpv): simplify _mainMenu labels and aspect #77
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@9bb56186c3b09b4f86b1c65136769dd318469633 | |
- 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 |