fix: ignore invalid fallback output (#3) #17
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install tools | |
| run: sudo apt-get update && sudo apt-get install -y shellcheck jq | |
| - name: Bash syntax | |
| run: | | |
| bash -n codexbar.sh | |
| bash -n install.sh | |
| - name: ShellCheck | |
| run: shellcheck -x codexbar.sh install.sh | |
| - name: Python syntax | |
| run: python3 -m py_compile codexbar-popup.py | |
| - name: JSONC module file parses (after stripping line comments) | |
| run: | | |
| sed -E 's@//.*$@@' codexbar.jsonc | jq -e . >/dev/null |