homegear repo bookworm install as per official instructions #3056
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: ShellCheck | |
# Trigger the workflow on push or pull request | |
on: | |
push: | |
paths: | |
- '**.bash' | |
- '**.sh' | |
- '!tests/test.bash' | |
- '.github/workflows/shellcheck-action.yml' | |
pull_request: | |
paths: | |
- '**.bash' | |
- '**.sh' | |
- '!tests/test.bash' | |
- '.github/workflows/shellcheck-action.yml' | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup environment | |
run: sudo -E bash -c set | |
- name: "ShellCheck openhabian-setup.sh" | |
run: | | |
echo "ShellCheck openhabian-setup.sh..." | |
if shellcheck -x -s bash openhabian-setup.sh; then echo "OK"; else echo "FAILED"; exit 1; fi | |
shell: bash | |
- name: "ShellCheck functions/*.bash" | |
run: | | |
echo "ShellCheck functions/*.bash..." | |
if shellcheck -x -s bash functions/*.bash; then echo "OK"; else echo "FAILED"; exit 1; fi | |
shell: bash | |
- name: "ShellCheck build-image/*.bash" | |
run: | | |
echo "ShellCheck build-image/*.bash..." | |
if shellcheck -x -s bash build-image/*.bash; then echo "OK"; else echo "FAILED"; exit 1; fi | |
shell: bash | |
- name: "ShellCheck build.bash and ci-setup.bash" | |
run: | | |
echo "ShellCheck build.bash and ci-setup.bash..." | |
if shellcheck -x -s bash build.bash tests/ci-setup.bash; then echo "OK"; else echo "FAILED"; exit 1; fi | |
shell: bash |