Professionalize kiosk installer #4
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: Installer validation | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install ShellCheck | |
| run: sudo apt-get update && sudo apt-get install -y shellcheck | |
| - name: Run ShellCheck | |
| run: | | |
| shellcheck -x \ | |
| kiosk_setup.sh \ | |
| templates/rpi-kiosk-browser \ | |
| templates/rpi-kiosk-netwatch \ | |
| templates/cec/rpi-kiosk-cec \ | |
| tests/test.sh | |
| - name: Run installer tests | |
| run: bash tests/test.sh |