Add Jellyfin badge to README header #25
Workflow file for this run
This file contains hidden or 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: Validate | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Validate shell scripts | |
| run: | | |
| bash -n bootstrap.sh | |
| while IFS= read -r -d '' f; do | |
| bash -n "$f" | |
| done < <(find scripts -type f -name '*.sh' -print0) | |
| - name: Validate media path usage | |
| run: | | |
| # Automation scripts must resolve MEDIA_DIR from env/.env, not hardcode $HOME/Media. | |
| ! rg -n '\$HOME/Media' scripts/auto-heal.sh scripts/install-auto-heal.sh | |
| - name: Validate compose config | |
| run: | | |
| cp .env.example .env | |
| docker compose --profile autoupdate config >/dev/null | |
| rm .env |