Update README.md #15
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: | |
| - uses: actions/checkout@v4 | |
| - name: Install validation tools | |
| run: >- | |
| sudo apt-get update && sudo apt-get install --yes bats shellcheck | |
| yamllint | |
| - name: Validate YAML | |
| run: yamllint . | |
| - name: Validate shell scripts | |
| run: >- | |
| shellcheck airplay2_lowlatency/start-addon.sh | |
| airplay2_lowlatency/rootfs/etc/cont-init.d/10-audio-check.sh | |
| tests/smoke-container.sh | |
| - name: Run configuration tests | |
| run: >- | |
| bats tests/config-schema.bats tests/start-addon.bats | |
| - name: Build and smoke-test container | |
| run: tests/smoke-container.sh |